# CVE-2022-49329: vduse: Fix NULL pointer dereference on sysfs access

> 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, CNA) `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.28% (percentile 13, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2025-02-26T02:10:50.073Z
- **Modified:** 2026-06-17T05:17:44.097Z

## Who should check

- Anyone running Linux \>= c8a6153b6c59d95c0e091f053f6f180952ade91e, \< 3a7a81f4835dfda11f39fdd27586da14331896eb; \>= c8a6153b6c59d95c0e091f053f6f180952ade91e, \< 30fd1b56621e187346f65d01fe34870634b15188; \>= c8a6153b6c59d95c0e091f053f6f180952ade91e, \< b22fdee17ec62604060fb0fda5e1414b634666e1; \>= c8a6153b6c59d95c0e091f053f6f180952ade91e, \< b27ee76c74dc831d6e092eaebc2dfc9c0beed1c9
- Anyone running Linux 5.15

## Description

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

vduse: Fix NULL pointer dereference on sysfs access

The control device has no drvdata. So we will get a
NULL pointer dereference when accessing control
device's msg\_timeout attribute via sysfs:

\[ 132.841881\]\[ T3644\] BUG: kernel NULL pointer dereference, address: 00000000000000f8
\[ 132.850619\]\[ T3644\] RIP: 0010:msg\_timeout\_show (drivers/vdpa/vdpa\_user/vduse\_dev.c:1271)
\[ 132.869447\]\[ T3644\] dev\_attr\_show (drivers/base/core.c:2094)
\[ 132.870215\]\[ T3644\] sysfs\_kf\_seq\_show (fs/sysfs/file.c:59)
\[ 132.871164\]\[ T3644\] ? device\_remove\_bin\_file (drivers/base/core.c:2088)
\[ 132.872082\]\[ T3644\] kernfs\_seq\_show (fs/kernfs/file.c:164)
\[ 132.872838\]\[ T3644\] seq\_read\_iter (fs/seq\_file.c:230)
\[ 132.873578\]\[ T3644\] ? \_\_vmalloc\_area\_node (mm/vmalloc.c:3041)
\[ 132.874532\]\[ T3644\] kernfs\_fop\_read\_iter (fs/kernfs/file.c:238)
\[ 132.875513\]\[ T3644\] \_\_kernel\_read (fs/read\_write.c:440 (discriminator 1))
\[ 132.876319\]\[ T3644\] kernel\_read (fs/read\_write.c:459)
\[ 132.877129\]\[ T3644\] kernel\_read\_file (fs/kernel\_read\_file.c:94)
\[ 132.877978\]\[ T3644\] kernel\_read\_file\_from\_fd (include/linux/file.h:45 fs/kernel\_read\_file.c:186)
\[ 132.879019\]\[ T3644\] \_\_do\_sys\_finit\_module (kernel/module.c:4207)
\[ 132.879930\]\[ T3644\] \_\_ia32\_sys\_finit\_module (kernel/module.c:4189)
\[ 132.880930\]\[ T3644\] do\_int80\_syscall\_32 (arch/x86/entry/common.c:112 arch/x86/entry/common.c:132)
\[ 132.881847\]\[ T3644\] entry\_INT80\_compat (arch/x86/entry/entry\_64\_compat.S:419)

To fix it, don't create the unneeded attribute for
control device anymore.

## Affected and fixed versions

- Linux: \>= c8a6153b6c59d95c0e091f053f6f180952ade91e, \< 3a7a81f4835dfda11f39fdd27586da14331896eb; \>= c8a6153b6c59d95c0e091f053f6f180952ade91e, \< 30fd1b56621e187346f65d01fe34870634b15188; \>= c8a6153b6c59d95c0e091f053f6f180952ade91e, \< b22fdee17ec62604060fb0fda5e1414b634666e1; \>= c8a6153b6c59d95c0e091f053f6f180952ade91e, \< b27ee76c74dc831d6e092eaebc2dfc9c0beed1c9 (cvelist)
- Linux: 5.15 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2022-49329.md
Affected: Linux >= c8a6153b6c59d95c0e091f053f6f180952ade91e, < 3a7a81f4835dfda11f39fdd27586da14331896eb; >= c8a6153b6c59d95c0e091f053f6f180952ade91e, < 30fd1b56621e187346f65d01fe34870634b15188; >= c8a6153b6c59d95c0e091f053f6f180952ade91e, < b22fdee17ec62604060fb0fda5e1414b634666e1; >= c8a6153b6c59d95c0e091f0…
Fixed in: Linux 3a7a81f4835dfda11f39fdd27586da14331896eb, Linux 30fd1b56621e187346f65d01fe34870634b15188

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-49329 being exploited?

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

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

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

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

Linux \>= c8a6153b6c59d95c0e091f053f6f180952ade91e, \< 3a7a81f4835dfda11f39fdd27586da14331896eb; \>= c8a6153b6c59d95c0e091f053f6f180952ade91e, \< 30fd1b56621e187346f65d01fe34870634b15188; \>= c8a6153b6c59d95c0e091f053f6f180952ade91e, \< b22fdee17ec62604060fb0fda5e1414b634666e1; \>= c8a6153b6c59d95c0e091f053f6f180952ade91e, \< b27ee76c74dc831d6e092eaebc2dfc9c0beed1c9; Linux 5.15.

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

Yes. Fixed in Linux 3a7a81f4835dfda11f39fdd27586da14331896eb, Linux 30fd1b56621e187346f65d01fe34870634b15188. No fix listed yet: follow the vendor advisory.

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

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/3a7a81f4835dfda11f39fdd27586da14331896eb>
- patch: <https://git.kernel.org/stable/c/30fd1b56621e187346f65d01fe34870634b15188>
- patch: <https://git.kernel.org/stable/c/b22fdee17ec62604060fb0fda5e1414b634666e1>
- patch: <https://git.kernel.org/stable/c/b27ee76c74dc831d6e092eaebc2dfc9c0beed1c9>

## 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-49329>

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