{"id":"CVE-2022-50272","title":"media: dvb-usb: az6027: fix null-ptr-deref in az6027_i2c_xfer()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: dvb-usb: az6027: fix null-ptr-deref in az6027_i2c_xfer()\n\nWei Chen reports a kernel bug as blew:\n\ngeneral protection fault, probably for non-canonical address\nKA…","severity":"none","vendor":"Linux","product":"Linux","affected":["Linux >= 76f9a820c8672ada12ffa0903652c9e6f2429462 < 2b6a8a1a32746981044e7ab06649c804acb4068a","Linux >= 76f9a820c8672ada12ffa0903652c9e6f2429462 < c712d1ccbfb787620422b437a5b8fac0802547bd","Linux >= 76f9a820c8672ada12ffa0903652c9e6f2429462 < 7abfe467cd685f5da7ecb415441e45e3e4e2baa8","Linux >= 76f9a820c8672ada12ffa0903652c9e6f2429462 < 8b256d23361c51aa4b7fdb71176c1ca50966fb39","Linux >= 76f9a820c8672ada12ffa0903652c9e6f2429462 < 559891d430e3f3a178040c4371ed419edbfa7d65","Linux >= 76f9a820c8672ada12ffa0903652c9e6f2429462 < 210fcf64be4db82c0e190e74b5111e4eef661a7a","Linux >= 76f9a820c8672ada12ffa0903652c9e6f2429462 < 6fbc44731a4665cbe92a5090e9804a388a72214b","Linux >= 76f9a820c8672ada12ffa0903652c9e6f2429462 < 6b60cf73a931af34b7a0a3f467a79d9fe0df2d70","Linux >= 76f9a820c8672ada12ffa0903652c9e6f2429462 < 0ed554fd769a19ea8464bb83e9ac201002ef74ad","Linux 2.6.34"],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-11-05T20:08:25.642549Z"},"published":"2025-09-15","updated":"2026-11-05","sourceUpdated":"2026-11-05T20:10:32.172Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2022-50272","references":[{"url":"https://git.kernel.org/stable/c/2b6a8a1a32746981044e7ab06649c804acb4068a"},{"url":"https://git.kernel.org/stable/c/c712d1ccbfb787620422b437a5b8fac0802547bd"},{"url":"https://git.kernel.org/stable/c/7abfe467cd685f5da7ecb415441e45e3e4e2baa8"},{"url":"https://git.kernel.org/stable/c/8b256d23361c51aa4b7fdb71176c1ca50966fb39"},{"url":"https://git.kernel.org/stable/c/559891d430e3f3a178040c4371ed419edbfa7d65"},{"url":"https://git.kernel.org/stable/c/210fcf64be4db82c0e190e74b5111e4eef661a7a"},{"url":"https://git.kernel.org/stable/c/6fbc44731a4665cbe92a5090e9804a388a72214b"},{"url":"https://git.kernel.org/stable/c/6b60cf73a931af34b7a0a3f467a79d9fe0df2d70"},{"url":"https://git.kernel.org/stable/c/0ed554fd769a19ea8464bb83e9ac201002ef74ad"}],"tags":["cve.org"],"epss":0.00163,"epssPercentile":0.05553,"ingestedAt":"2026-11-05T22:38:31.716Z","slug":"CVE-2022-50272","body":"## Overview\n\nIn the Linux kernel, the following vulnerability has been resolved:\n\nmedia: dvb-usb: az6027: fix null-ptr-deref in az6027_i2c_xfer()\n\nWei Chen reports a kernel bug as blew:\n\ngeneral protection fault, probably for non-canonical address\nKASAN: null-ptr-deref in range [0x0000000000000010-0x0000000000000017]\n...\nCall Trace:\n<TASK>\n__i2c_transfer+0x77e/0x1930 drivers/i2c/i2c-core-base.c:2109\ni2c_transfer+0x1d5/0x3d0 drivers/i2c/i2c-core-base.c:2170\ni2cdev_ioctl_rdwr+0x393/0x660 drivers/i2c/i2c-dev.c:297\ni2cdev_ioctl+0x75d/0x9f0 drivers/i2c/i2c-dev.c:458\nvfs_ioctl fs/ioctl.c:51 [inline]\n__do_sys_ioctl fs/ioctl.c:870 [inline]\n__se_sys_ioctl+0xfb/0x170 fs/ioctl.c:856\ndo_syscall_x64 arch/x86/entry/common.c:50 [inline]\ndo_syscall_64+0x3d/0x90 arch/x86/entry/common.c:80\nentry_SYSCALL_64_after_hwframe+0x63/0xcd\nRIP: 0033:0x7fd834a8bded\n\nIn az6027_i2c_xfer(), if msg[i].addr is 0x99,\na null-ptr-deref will caused when accessing msg[i].buf.\nFor msg[i].len is 0 and msg[i].buf is null.\n\nFix this by checking msg[i].len in az6027_i2c_xfer().\n\n## Affected\n\n- `Linux >= 76f9a820c8672ada12ffa0903652c9e6f2429462 < 2b6a8a1a32746981044e7ab06649c804acb4068a`\n- `Linux >= 76f9a820c8672ada12ffa0903652c9e6f2429462 < c712d1ccbfb787620422b437a5b8fac0802547bd`\n- `Linux >= 76f9a820c8672ada12ffa0903652c9e6f2429462 < 7abfe467cd685f5da7ecb415441e45e3e4e2baa8`\n- `Linux >= 76f9a820c8672ada12ffa0903652c9e6f2429462 < 8b256d23361c51aa4b7fdb71176c1ca50966fb39`\n- `Linux >= 76f9a820c8672ada12ffa0903652c9e6f2429462 < 559891d430e3f3a178040c4371ed419edbfa7d65`\n- `Linux >= 76f9a820c8672ada12ffa0903652c9e6f2429462 < 210fcf64be4db82c0e190e74b5111e4eef661a7a`\n- `Linux >= 76f9a820c8672ada12ffa0903652c9e6f2429462 < 6fbc44731a4665cbe92a5090e9804a388a72214b`\n- `Linux >= 76f9a820c8672ada12ffa0903652c9e6f2429462 < 6b60cf73a931af34b7a0a3f467a79d9fe0df2d70`\n- `Linux >= 76f9a820c8672ada12ffa0903652c9e6f2429462 < 0ed554fd769a19ea8464bb83e9ac201002ef74ad`\n- `Linux 2.6.34`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":3,"depthScoreParts":{"impact":2.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}