# CVE-2026-22983: net: do not write to msg\_get\_inq in callee

> 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.18% (percentile 4, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2026-01-23T15:24:05.394Z
- **Modified:** 2026-06-17T10:20:39.030Z

## Who should check

- Anyone running Linux \>= 089e50f29eeec8eef6ae1450fc88138d719291cb, \< ffa2be496ef65055b28b39c6bd9a7d66943ee89a; \>= 4d1442979e4a53b9457ce1e373e187e1511ff688, \< 7d11e047eda5f98514ae62507065ac961981c025
- Anyone running Linux \>= 6.18.4, \< 6.18.6

## Description

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

net: do not write to msg\_get\_inq in callee

NULL pointer dereference fix.

msg\_get\_inq is an input field from caller to callee. Don't set it in
the callee, as the caller may not clear it on struct reuse.

This is a kernel-internal variant of msghdr only, and the only user
does reinitialize the field. So this is not critical for that reason.
But it is more robust to avoid the write, and slightly simpler code.
And it fixes a bug, see below.

Callers set msg\_get\_inq to request the input queue length to be
returned in msg\_inq. This is equivalent to but independent from the
SO\_INQ request to return that same info as a cmsg (tp-\>recvmsg\_inq).
To reduce branching in the hot path the second also sets the msg\_inq.
That is WAI.

This is a fix to commit 4d1442979e4a ("af\_unix: don't post cmsg for
SO\_INQ unless explicitly asked for"), which fixed the inverse.

Also avoid NULL pointer dereference in unix\_stream\_read\_generic if
state-\>msg is NULL and msg-\>msg\_get\_inq is written. A NULL state-\>msg
can happen when splicing as of commit 2b514574f7e8 ("net: af\_unix:
implement splice for stream af\_unix sockets").

Also collapse two branches using a bitwise or.

## Affected and fixed versions

- Linux: \>= 089e50f29eeec8eef6ae1450fc88138d719291cb, \< ffa2be496ef65055b28b39c6bd9a7d66943ee89a; \>= 4d1442979e4a53b9457ce1e373e187e1511ff688, \< 7d11e047eda5f98514ae62507065ac961981c025 (cvelist)
- Linux: \>= 6.18.4, \< 6.18.6 (cvelist)

## Mitigation

- Upgrade Linux to 7d11e047eda5f98514ae62507065ac961981c025 or later.
- Upgrade Linux to 6.18.6 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-22983.md
Affected: Linux >= 089e50f29eeec8eef6ae1450fc88138d719291cb, < ffa2be496ef65055b28b39c6bd9a7d66943ee89a; >= 4d1442979e4a53b9457ce1e373e187e1511ff688, < 7d11e047eda5f98514ae62507065ac961981c025; Linux >= 6.18.4, < 6.18.6
Fixed in: Linux 7d11e047eda5f98514ae62507065ac961981c025, Linux 6.18.6

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-2026-22983 being exploited?

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

### How serious is CVE-2026-22983?

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

### Which versions are affected by CVE-2026-22983?

Linux \>= 089e50f29eeec8eef6ae1450fc88138d719291cb, \< ffa2be496ef65055b28b39c6bd9a7d66943ee89a; \>= 4d1442979e4a53b9457ce1e373e187e1511ff688, \< 7d11e047eda5f98514ae62507065ac961981c025; Linux \>= 6.18.4, \< 6.18.6.

### Is there a fix for CVE-2026-22983?

Yes. Fixed in Linux 7d11e047eda5f98514ae62507065ac961981c025, Linux 6.18.6. Upgrade Linux to 7d11e047eda5f98514ae62507065ac961981c025 or later. Upgrade Linux to 6.18.6 or later.

### How do I check if I'm affected by CVE-2026-22983?

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/ffa2be496ef65055b28b39c6bd9a7d66943ee89a>
- patch: <https://git.kernel.org/stable/c/7d11e047eda5f98514ae62507065ac961981c025>

## 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-2026-22983>

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