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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.24% (percentile 9, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2025-09-15T14:21:08.534Z
- **Modified:** 2026-11-05T20:17:31.180Z

## Who should check

- Anyone running Linux \>= 76f9a820c8672ada12ffa0903652c9e6f2429462, \< 2b6a8a1a32746981044e7ab06649c804acb4068a; \>= 76f9a820c8672ada12ffa0903652c9e6f2429462, \< c712d1ccbfb787620422b437a5b8fac0802547bd; \>= 76f9a820c8672ada12ffa0903652c9e6f2429462, \< 7abfe467cd685f5da7ecb415441e45e3e4e2baa8; \>= 76f9a820c8672ada12ffa0903652c9e6f2429462, \< 8b256d23361c51aa4b7fdb71176c1ca50966fb39; \>= 76f9a820c8672ada12ffa0903652c9e6f2429462, \< 559891d430e3f3a178040c4371ed419edbfa7d65; \>= 76f9a820c8672ada12ffa0903652c9e6f2429462, \< 210fcf64be4db82c0e190e74b5111e4eef661a7a; \>= 76f9a820c8672ada12ffa0903652c9e6f2429462, \< 6fbc44731a4665cbe92a5090e9804a388a72214b; \>= 76f9a820c8672ada12ffa0903652c9e6f2429462, \< 6b60cf73a931af34b7a0a3f467a79d9fe0df2d70; \>= 76f9a820c8672ada12ffa0903652c9e6f2429462, \< 0ed554fd769a19ea8464bb83e9ac201002ef74ad
- Anyone running Linux 2.6.34

## Description

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().

## Affected and fixed versions

- Linux: \>= 76f9a820c8672ada12ffa0903652c9e6f2429462, \< 2b6a8a1a32746981044e7ab06649c804acb4068a; \>= 76f9a820c8672ada12ffa0903652c9e6f2429462, \< c712d1ccbfb787620422b437a5b8fac0802547bd; \>= 76f9a820c8672ada12ffa0903652c9e6f2429462, \< 7abfe467cd685f5da7ecb415441e45e3e4e2baa8; \>= 76f9a820c8672ada12ffa0903652c9e6f2429462, \< 8b256d23361c51aa4b7fdb71176c1ca50966fb39; \>= 76f9a820c8672ada12ffa0903652c9e6f2429462, \< 559891d430e3f3a178040c4371ed419edbfa7d65; \>= 76f9a820c8672ada12ffa0903652c9e6f2429462, \< 210fcf64be4db82c0e190e74b5111e4eef661a7a; \>= 76f9a820c8672ada12ffa0903652c9e6f2429462, \< 6fbc44731a4665cbe92a5090e9804a388a72214b; \>= 76f9a820c8672ada12ffa0903652c9e6f2429462, \< 6b60cf73a931af34b7a0a3f467a79d9fe0df2d70; \>= 76f9a820c8672ada12ffa0903652c9e6f2429462, \< 0ed554fd769a19ea8464bb83e9ac201002ef74ad (cvelist)
- Linux: 2.6.34 (cvelist)

## Mitigation

- Upgrade Linux to 0ed554fd769a19ea8464bb83e9ac201002ef74ad or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-50272. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-50272.md
Affected: Linux >= 76f9a820c8672ada12ffa0903652c9e6f2429462, < 2b6a8a1a32746981044e7ab06649c804acb4068a; >= 76f9a820c8672ada12ffa0903652c9e6f2429462, < c712d1ccbfb787620422b437a5b8fac0802547bd; >= 76f9a820c8672ada12ffa0903652c9e6f2429462, < 7abfe467cd685f5da7ecb415441e45e3e4e2baa8; >= 76f9a820c8672ada12ffa09…
Fixed in: Linux 2b6a8a1a32746981044e7ab06649c804acb4068a, Linux 7abfe467cd685f5da7ecb415441e45e3e4e2baa8, Linux 8b256d23361c51aa4b7fdb71176c1ca50966fb39, Linux 559891d430e3f3a178040c4371ed419edbfa7d65, Linux 210fcf64be4db82c0e190e74b5111e4eef661a7a, Linux 6fbc44731a4665cbe92a5090e9804a388a72214b, Linux 6b60c…

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2022-50272 being exploited?

There is no confirmed exploitation: CVE-2022-50272 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.24% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-50272?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2022-50272?

Linux \>= 76f9a820c8672ada12ffa0903652c9e6f2429462, \< 2b6a8a1a32746981044e7ab06649c804acb4068a; \>= 76f9a820c8672ada12ffa0903652c9e6f2429462, \< c712d1ccbfb787620422b437a5b8fac0802547bd; \>= 76f9a820c8672ada12ffa0903652c9e6f2429462, \< 7abfe467cd685f5da7ecb415441e45e3e4e2baa8; \>= 76f9a820c8672ada12ffa0903652c9e6f2429462, \< 8b256d23361c51aa4b7fdb71176c1ca50966fb39; \>= 76f9a820c8672ada12ffa0903652c9e6f2429462, \< 559891d430e3f3a178040c4371ed419edbfa7d65; \>= 76f9a820c8672ada12ffa0903652c9e6f2429462, \< 210fcf64be4db82c0e190e74b5111e4eef661a7a; \>= 76f9a820c8672ada12ffa0903652c9e6f2429462, \< 6fbc44731a4665cbe92a5090e9804a388a72214b; \>= 76f9a820c8672ada12ffa0903652c9e6f2429462, \< 6b60cf73a931af34b7a0a3f467a79d9fe0df2d70; \>= 76f9a820c8672ada12ffa0903652c9e6f2429462, \< 0ed554fd769a19ea8464bb83e9ac201002ef74ad; Linux 2.6.34.

### Is there a fix for CVE-2022-50272?

Yes. Fixed in Linux 2b6a8a1a32746981044e7ab06649c804acb4068a, Linux 7abfe467cd685f5da7ecb415441e45e3e4e2baa8, Linux 8b256d23361c51aa4b7fdb71176c1ca50966fb39, Linux 559891d430e3f3a178040c4371ed419edbfa7d65, Linux 210fcf64be4db82c0e190e74b5111e4eef661a7a, Linux 6fbc44731a4665cbe92a5090e9804a388a72214b, Linux 6b60cf73a931af34b7a0a3f467a79d9fe0df2d70, Linux 0ed554fd769a19ea8464bb83e9ac201002ef74ad. Upgrade Linux to 0ed554fd769a19ea8464bb83e9ac201002ef74ad or later.

### How do I check if I'm affected by CVE-2022-50272?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/2b6a8a1a32746981044e7ab06649c804acb4068a>
- patch: <https://git.kernel.org/stable/c/c712d1ccbfb787620422b437a5b8fac0802547bd>
- patch: <https://git.kernel.org/stable/c/7abfe467cd685f5da7ecb415441e45e3e4e2baa8>
- patch: <https://git.kernel.org/stable/c/8b256d23361c51aa4b7fdb71176c1ca50966fb39>
- patch: <https://git.kernel.org/stable/c/559891d430e3f3a178040c4371ed419edbfa7d65>
- patch: <https://git.kernel.org/stable/c/210fcf64be4db82c0e190e74b5111e4eef661a7a>
- patch: <https://git.kernel.org/stable/c/6fbc44731a4665cbe92a5090e9804a388a72214b>
- patch: <https://git.kernel.org/stable/c/6b60cf73a931af34b7a0a3f467a79d9fe0df2d70>
- patch: <https://git.kernel.org/stable/c/0ed554fd769a19ea8464bb83e9ac201002ef74ad>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-50272>

HTML: <https://flawdb.com/CVE-2022-50272> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-50272>
