{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-50272","id":"CVE-2022-50272","title":"media: dvb-usb: az6027: fix null-ptr-deref in az6027_i2c_xfer()","description":"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\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_transf","descriptionLong":"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\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().","published":"2025-09-15T14:21:08.534Z","updated":"2026-11-07T02:30:41.927380157Z","reserved":"2025-09-15T13:58:00.975Z","status":"Analyzed","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"76f9a820c8672ada12ffa0903652c9e6f2429462","lessThan":"2b6a8a1a32746981044e7ab06649c804acb4068a","status":"affected","versionType":"git"},{"version":"76f9a820c8672ada12ffa0903652c9e6f2429462","lessThan":"c712d1ccbfb787620422b437a5b8fac0802547bd","status":"affected","versionType":"git"},{"version":"76f9a820c8672ada12ffa0903652c9e6f2429462","lessThan":"7abfe467cd685f5da7ecb415441e45e3e4e2baa8","status":"affected","versionType":"git"},{"version":"76f9a820c8672ada12ffa0903652c9e6f2429462","lessThan":"8b256d23361c51aa4b7fdb71176c1ca50966fb39","status":"affected","versionType":"git"},{"version":"76f9a820c8672ada12ffa0903652c9e6f2429462","lessThan":"559891d430e3f3a178040c4371ed419edbfa7d65","status":"affected","versionType":"git"},{"version":"76f9a820c8672ada12ffa0903652c9e6f2429462","lessThan":"210fcf64be4db82c0e190e74b5111e4eef661a7a","status":"affected","versionType":"git"},{"version":"76f9a820c8672ada12ffa0903652c9e6f2429462","lessThan":"6fbc44731a4665cbe92a5090e9804a388a72214b","status":"affected","versionType":"git"},{"version":"76f9a820c8672ada12ffa0903652c9e6f2429462","lessThan":"6b60cf73a931af34b7a0a3f467a79d9fe0df2d70","status":"affected","versionType":"git"},{"version":"76f9a820c8672ada12ffa0903652c9e6f2429462","lessThan":"0ed554fd769a19ea8464bb83e9ac201002ef74ad","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.34","status":"affected"},{"version":"0","lessThan":"2.6.34","status":"unaffected","versionType":"semver"},{"version":"4.9.337","lessThanOrEqual":"4.9.*","status":"unaffected","versionType":"semver"},{"version":"4.14.303","lessThanOrEqual":"4.14.*","status":"unaffected","versionType":"semver"},{"version":"4.19.270","lessThanOrEqual":"4.19.*","status":"unaffected","versionType":"semver"},{"version":"5.4.229","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.163","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.86","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.0.16","lessThanOrEqual":"6.0.*","status":"unaffected","versionType":"semver"},{"version":"6.1.2","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-476"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/2b6a8a1a32746981044e7ab06649c804acb4068a","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/c712d1ccbfb787620422b437a5b8fac0802547bd","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/7abfe467cd685f5da7ecb415441e45e3e4e2baa8","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/8b256d23361c51aa4b7fdb71176c1ca50966fb39","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/559891d430e3f3a178040c4371ed419edbfa7d65","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/210fcf64be4db82c0e190e74b5111e4eef661a7a","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/6fbc44731a4665cbe92a5090e9804a388a72214b","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/6b60cf73a931af34b7a0a3f467a79d9fe0df2d70","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/0ed554fd769a19ea8464bb83e9ac201002ef74ad","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50272.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50272","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.0017,"epssPercentile":0.0649,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-50272","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50272","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-50272","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-50272","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}