# CVE-2026-43244: kcm: fix zero-frag skb in frag\_list on partial sendmsg error

> 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.16% (percentile 3, 2026-11-26)
- **CWE:** CWE-401
- **Published:** 2026-05-06T11:28:36.946Z
- **Modified:** 2026-11-11T20:10:00.273Z

## Who should check

- Anyone running Linux \>= ab7ac4eb9832e32a09f4e8042705484d2fb0aad3, \< d6dcbcc8d630d14e9651fe93a9386b35f4dcfd56; \>= ab7ac4eb9832e32a09f4e8042705484d2fb0aad3, \< 6f129a251c2795ba55dd5cc1fdf7e0af3098d848; \>= ab7ac4eb9832e32a09f4e8042705484d2fb0aad3, \< 9ea3671d70ee07480d80bebe86696397c4e99fb7; \>= ab7ac4eb9832e32a09f4e8042705484d2fb0aad3, \< b1e3edf688a88c1a3ac41657055d9c136a08cd25; \>= ab7ac4eb9832e32a09f4e8042705484d2fb0aad3, \< 7af58f76e4b404a74c836881a845e6652db8a09f; \>= ab7ac4eb9832e32a09f4e8042705484d2fb0aad3, \< ca220141fa8ebae09765a242076b2b77338106b0
- Anyone running Linux 4.6

## Description

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

kcm: fix zero-frag skb in frag\_list on partial sendmsg error

Syzkaller reported a warning in kcm\_write\_msgs() when processing a
message with a zero-fragment skb in the frag\_list.

When kcm\_sendmsg() fills MAX\_SKB\_FRAGS fragments in the current skb,
it allocates a new skb (tskb) and links it into the frag\_list before
copying data. If the copy subsequently fails (e.g. -EFAULT from
user memory), tskb remains in the frag\_list with zero fragments:

  head skb (msg being assembled, NOT yet in sk\_write\_queue)
  +-----------+
  \| frags\[17\] \|  (MAX\_SKB\_FRAGS, all filled with data)
  \| frag\_list-+--\> tskb
  +-----------+    +----------+
                   \| frags\[0\] \|  (empty! copy failed before filling)
                   +----------+

For SOCK\_SEQPACKET with partial data already copied, the error path
saves this message via partial\_message for later completion. For
SOCK\_SEQPACKET, sock\_write\_iter() automatically sets MSG\_EOR, so a
subsequent zero-length write(fd, NULL, 0) completes the message and
queues it to sk\_write\_queue. kcm\_write\_msgs() then walks the
frag\_list and hits:

  WARN\_ON(!skb\_shinfo(skb)-\>nr\_frags)

TCP has a similar pattern where skbs are enqueued before data copy
and cleaned up on failure via tcp\_remove\_empty\_skb(). KCM was
missing the equivalent cleanup.

Fix this by tracking the predecessor skb (frag\_prev) when allocating
a new frag\_list entry. On error, if the tail skb has zero frags,
use frag\_prev to unlink and free it in O(1) without walking the
singly-linked frag\_list. frag\_prev is safe to dereference because
the entire message chain is only held locally (or in kcm-\>seq\_skb)
and is not added to sk\_write\_queue until MSG\_EOR, so the send path
cannot free it underneath us.

Also change the WARN\_ON to WARN\_ON\_ONCE to avoid flooding the log
if the condition is somehow hit repeatedly.

There are currently no KCM selftests in the kernel tree; a simple
reproducer is available at \[1\].

\[1\] https://gist.github.com/mrpre/a94d431c757e8d6f168f4dd1a3749daa

## Affected and fixed versions

- Linux: \>= ab7ac4eb9832e32a09f4e8042705484d2fb0aad3, \< d6dcbcc8d630d14e9651fe93a9386b35f4dcfd56; \>= ab7ac4eb9832e32a09f4e8042705484d2fb0aad3, \< 6f129a251c2795ba55dd5cc1fdf7e0af3098d848; \>= ab7ac4eb9832e32a09f4e8042705484d2fb0aad3, \< 9ea3671d70ee07480d80bebe86696397c4e99fb7; \>= ab7ac4eb9832e32a09f4e8042705484d2fb0aad3, \< b1e3edf688a88c1a3ac41657055d9c136a08cd25; \>= ab7ac4eb9832e32a09f4e8042705484d2fb0aad3, \< 7af58f76e4b404a74c836881a845e6652db8a09f; \>= ab7ac4eb9832e32a09f4e8042705484d2fb0aad3, \< ca220141fa8ebae09765a242076b2b77338106b0 (cvelist)
- Linux: 4.6 (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-2026-43244. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-43244.md
Affected: Linux >= ab7ac4eb9832e32a09f4e8042705484d2fb0aad3, < d6dcbcc8d630d14e9651fe93a9386b35f4dcfd56; >= ab7ac4eb9832e32a09f4e8042705484d2fb0aad3, < 6f129a251c2795ba55dd5cc1fdf7e0af3098d848; >= ab7ac4eb9832e32a09f4e8042705484d2fb0aad3, < 9ea3671d70ee07480d80bebe86696397c4e99fb7; >= ab7ac4eb9832e32a09f4e80…
Fixed in: Linux 6f129a251c2795ba55dd5cc1fdf7e0af3098d848, Linux 9ea3671d70ee07480d80bebe86696397c4e99fb7, Linux 7af58f76e4b404a74c836881a845e6652db8a09f

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

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

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

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

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

Linux \>= ab7ac4eb9832e32a09f4e8042705484d2fb0aad3, \< d6dcbcc8d630d14e9651fe93a9386b35f4dcfd56; \>= ab7ac4eb9832e32a09f4e8042705484d2fb0aad3, \< 6f129a251c2795ba55dd5cc1fdf7e0af3098d848; \>= ab7ac4eb9832e32a09f4e8042705484d2fb0aad3, \< 9ea3671d70ee07480d80bebe86696397c4e99fb7; \>= ab7ac4eb9832e32a09f4e8042705484d2fb0aad3, \< b1e3edf688a88c1a3ac41657055d9c136a08cd25; \>= ab7ac4eb9832e32a09f4e8042705484d2fb0aad3, \< 7af58f76e4b404a74c836881a845e6652db8a09f; \>= ab7ac4eb9832e32a09f4e8042705484d2fb0aad3, \< ca220141fa8ebae09765a242076b2b77338106b0; Linux 4.6.

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

Yes. Fixed in Linux 6f129a251c2795ba55dd5cc1fdf7e0af3098d848, Linux 9ea3671d70ee07480d80bebe86696397c4e99fb7, Linux 7af58f76e4b404a74c836881a845e6652db8a09f. No fix listed yet: follow the vendor advisory.

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

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/9ea3671d70ee07480d80bebe86696397c4e99fb7>
- patch: <https://git.kernel.org/stable/c/b1e3edf688a88c1a3ac41657055d9c136a08cd25>
- patch: <https://git.kernel.org/stable/c/7af58f76e4b404a74c836881a845e6652db8a09f>
- patch: <https://git.kernel.org/stable/c/ca220141fa8ebae09765a242076b2b77338106b0>
- other: <https://git.kernel.org/stable/c/d6dcbcc8d630d14e9651fe93a9386b35f4dcfd56>
- other: <https://git.kernel.org/stable/c/6f129a251c2795ba55dd5cc1fdf7e0af3098d848>

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

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