# CVE-2022-50272: media: dvb-usb: az6027: fix null-ptr-deref in az6027\_i2c\_xfer()

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-09-15 · Modified: 2026-11-05
- Aliases: UBUNTU-CVE-2022-50272, DEBIAN-CVE-2022-50272
- Record: https://cvemate.com/vulnerability/CVE-2022-50272 · JSON: https://cvemate.com/vulnerability/CVE-2022-50272/json

## Description

```text
In the Linux kernel, the following vulnerability has been resolved:

media: dvb-usb: az6027: fix null-ptr-deref in az6027_i2c_xfer()

Wei Chen reports a kernel bug as blew:

general protection fault, probably for non-canonical address
KASAN: null-ptr-deref in range [0x0000000000000010-0x0000000000000017]
...
Call Trace:
<TASK>
__i2c_transfer+0x77e/0x1930 drivers/i2c/i2c-core-base.c:2109
i2c_transfer+0x1d5/0x3d0 drivers/i2c/i2c-core-base.c:2170
i2cdev_ioctl_rdwr+0x393/0x660 drivers/i2c/i2c-dev.c:297
i2cdev_ioctl+0x75d/0x9f0 drivers/i2c/i2c-dev.c:458
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:870 [inline]
__se_sys_ioctl+0xfb/0x170 fs/ioctl.c:856
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3d/0x90 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fd834a8bded

In az6027_i2c_xfer(), if msg[i].addr is 0x99,
a null-ptr-deref will caused when accessing msg[i].buf.
For msg[i].len is 0 and msg[i].buf is null.

Fix this by checking msg[i].len in az6027_i2c_xfer().
```

## Signals

- CVSS: 5.5 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.17%, percentile 6.676%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 124)

- debian linux (Debian): \< 6.1.4-1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 4.4.0-241.275 \| \< 4.15.0-208.220 \| \< 5.4.0-144.161 \| \< 5.15.0-69.76
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 4.4.0-1119.125 \| \< 4.4.0-1157.172 \| \< 4.15.0-1153.166 \| \< 5.4.0-1097.105 \| \< 5.15.0-1033.37
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1033.37~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): \< 5.4.0-1097.105~18.04.1
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-fips (Ubuntu): \< 4.15.0-2092.98 \| All versions (No fix recorded) \| \< 5.4.0-1099.107+fips1
- ubuntu linux-aws-hwe (Ubuntu): \< 4.15.0-1153.166~16.04.1
- ubuntu linux-azure (Ubuntu): \< 4.15.0-1162.177~14.04.1 \| \< 4.15.0-1162.177~16.04.1 \| All versions (No fix recorded) \| \< 5.4.0-1104.110 \| \< 5.15.0-1035.42
- ubuntu linux-azure-4.15 (Ubuntu): \< 4.15.0-1162.177
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)

## References

- <https://git.kernel.org/stable/c/2b6a8a1a32746981044e7ab06649c804acb4068a>
- <https://git.kernel.org/stable/c/c712d1ccbfb787620422b437a5b8fac0802547bd>
- <https://git.kernel.org/stable/c/7abfe467cd685f5da7ecb415441e45e3e4e2baa8>
- <https://git.kernel.org/stable/c/8b256d23361c51aa4b7fdb71176c1ca50966fb39>
- <https://git.kernel.org/stable/c/559891d430e3f3a178040c4371ed419edbfa7d65>
- <https://git.kernel.org/stable/c/210fcf64be4db82c0e190e74b5111e4eef661a7a>
- <https://git.kernel.org/stable/c/6fbc44731a4665cbe92a5090e9804a388a72214b>
- <https://git.kernel.org/stable/c/6b60cf73a931af34b7a0a3f467a79d9fe0df2d70>
- <https://git.kernel.org/stable/c/0ed554fd769a19ea8464bb83e9ac201002ef74ad>
- <https://ubuntu.com/security/CVE-2022-50272>
- <https://www.cve.org/CVERecord?id=CVE-2022-50272>
- <https://git.kernel.org/linus/0ed554fd769a19ea8464bb83e9ac201002ef74ad>
- <https://security-tracker.debian.org/tracker/CVE-2022-50272>

---

Data as of 2026-12-06T04:48:45.144Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
