# CVE-2026-63831: mac802154: llsec: add skb\_cow\_data() before in-place crypto

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

- **Severity:** HIGH 8.8
- **CVSS:** 8.8 (v3.1, CNA) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Adjacent network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; 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.40% (percentile 26, 2026-11-28)
- **CWE:** CWE-416
- **Published:** 2026-07-19T12:02:24.320Z
- **Modified:** 2026-10-22T19:24:19.030Z

## Who should check

- Anyone running Linux \>= 03556e4d0dbbbf4af9df76f4a3839c86f6afb015, \< 3a2b378b3a9ca75d3518d879148d2ad25b5714a9; \>= 03556e4d0dbbbf4af9df76f4a3839c86f6afb015, \< 7a831bcd0486788283ef35e396d4282ee01bb0d5; \>= 03556e4d0dbbbf4af9df76f4a3839c86f6afb015, \< ff976ef7c39199ebff33c18034636595016db9f0; \>= 03556e4d0dbbbf4af9df76f4a3839c86f6afb015, \< e28e7fd34c449028325322a3f5127b92594b7396; \>= 03556e4d0dbbbf4af9df76f4a3839c86f6afb015, \< 993fd674fe85d114e6a8d3963033d4fbbc2170a8; \>= 03556e4d0dbbbf4af9df76f4a3839c86f6afb015, \< bd968bdd568beacfdf98ec537a87527e85f1d0cf; \>= 03556e4d0dbbbf4af9df76f4a3839c86f6afb015, \< 86d531337ea1ba02d9f2bc830d07c683d9bfaade; \>= 03556e4d0dbbbf4af9df76f4a3839c86f6afb015, \< 84a04eb5b210643bd67aab81ff805d32f62aa865
- Anyone running Linux 3.16

## Description

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

mac802154: llsec: add skb\_cow\_data() before in-place crypto

llsec\_do\_encrypt\_unauth(), llsec\_do\_encrypt\_auth(),
llsec\_do\_decrypt\_unauth(), and llsec\_do\_decrypt\_auth() all perform
in-place cryptographic transformations on skb data.  They build a
scatterlist with sg\_init\_one() pointing into the skb's linear data area
and then pass the same scatterlist as both src and dst to the crypto API
(e.g. crypto\_skcipher\_encrypt/decrypt, crypto\_aead\_encrypt/decrypt).

On the RX path, \_\_ieee802154\_rx\_handle\_packet() clones the received skb
before handing it to each subscriber via ieee802154\_subif\_frame().  The
cloned skb shares the same underlying data buffer via reference
counting.  When llsec\_do\_decrypt() subsequently modifies this shared
buffer in place, it corrupts data that other clones -- potentially
belonging to other sockets or subsystems -- still reference.

On the TX path, similar data sharing can occur when an skb's head has
been cloned (skb\_cloned() returns true).

The fix is to call skb\_cow\_data() before performing any in-place crypto
operation.  skb\_cow\_data() ensures that the skb's data area is not
shared: if the skb head is cloned or the data spans multiple fragments,
it copies the data into a private buffer that can be safely modified in
place.  This is the same pattern used by:

  - ESP (net/ipv4/esp4.c, net/ipv6/esp6.c)
  - MACsec (drivers/net/macsec.c)
  - WireGuard (drivers/net/wireguard/receive.c)
  - TIPC (net/tipc/crypto.c)

Without this guard, in-place crypto on shared skb data leads to:
  - Silent data corruption of other skb clones
  - Use-after-free when the crypto API scatterwalk writes through a
    page that has already been freed by another clone's kfree\_skb()
  - Kernel crashes under concurrent 802.15.4 traffic with security
    enabled (KASAN/KMSAN reports slab-use-after-free)

Found by 0sec (https://0sec.ai) using automated source analysis.

## Affected and fixed versions

- Linux: \>= 03556e4d0dbbbf4af9df76f4a3839c86f6afb015, \< 3a2b378b3a9ca75d3518d879148d2ad25b5714a9; \>= 03556e4d0dbbbf4af9df76f4a3839c86f6afb015, \< 7a831bcd0486788283ef35e396d4282ee01bb0d5; \>= 03556e4d0dbbbf4af9df76f4a3839c86f6afb015, \< ff976ef7c39199ebff33c18034636595016db9f0; \>= 03556e4d0dbbbf4af9df76f4a3839c86f6afb015, \< e28e7fd34c449028325322a3f5127b92594b7396; \>= 03556e4d0dbbbf4af9df76f4a3839c86f6afb015, \< 993fd674fe85d114e6a8d3963033d4fbbc2170a8; \>= 03556e4d0dbbbf4af9df76f4a3839c86f6afb015, \< bd968bdd568beacfdf98ec537a87527e85f1d0cf; \>= 03556e4d0dbbbf4af9df76f4a3839c86f6afb015, \< 86d531337ea1ba02d9f2bc830d07c683d9bfaade; \>= 03556e4d0dbbbf4af9df76f4a3839c86f6afb015, \< 84a04eb5b210643bd67aab81ff805d32f62aa865 (cvelist)
- Linux: 3.16 (cvelist)

## Mitigation

- Upgrade Linux to 84a04eb5b210643bd67aab81ff805d32f62aa865 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-63831. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-63831.md
Affected: Linux >= 03556e4d0dbbbf4af9df76f4a3839c86f6afb015, < 3a2b378b3a9ca75d3518d879148d2ad25b5714a9; >= 03556e4d0dbbbf4af9df76f4a3839c86f6afb015, < 7a831bcd0486788283ef35e396d4282ee01bb0d5; >= 03556e4d0dbbbf4af9df76f4a3839c86f6afb015, < ff976ef7c39199ebff33c18034636595016db9f0; >= 03556e4d0dbbbf4af9df76f…
Fixed in: Linux 3a2b378b3a9ca75d3518d879148d2ad25b5714a9, Linux 7a831bcd0486788283ef35e396d4282ee01bb0d5, Linux 993fd674fe85d114e6a8d3963033d4fbbc2170a8, Linux 86d531337ea1ba02d9f2bc830d07c683d9bfaade, Linux 84a04eb5b210643bd67aab81ff805d32f62aa865

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

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

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

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

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

Linux \>= 03556e4d0dbbbf4af9df76f4a3839c86f6afb015, \< 3a2b378b3a9ca75d3518d879148d2ad25b5714a9; \>= 03556e4d0dbbbf4af9df76f4a3839c86f6afb015, \< 7a831bcd0486788283ef35e396d4282ee01bb0d5; \>= 03556e4d0dbbbf4af9df76f4a3839c86f6afb015, \< ff976ef7c39199ebff33c18034636595016db9f0; \>= 03556e4d0dbbbf4af9df76f4a3839c86f6afb015, \< e28e7fd34c449028325322a3f5127b92594b7396; \>= 03556e4d0dbbbf4af9df76f4a3839c86f6afb015, \< 993fd674fe85d114e6a8d3963033d4fbbc2170a8; \>= 03556e4d0dbbbf4af9df76f4a3839c86f6afb015, \< bd968bdd568beacfdf98ec537a87527e85f1d0cf; \>= 03556e4d0dbbbf4af9df76f4a3839c86f6afb015, \< 86d531337ea1ba02d9f2bc830d07c683d9bfaade; \>= 03556e4d0dbbbf4af9df76f4a3839c86f6afb015, \< 84a04eb5b210643bd67aab81ff805d32f62aa865; Linux 3.16.

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

Yes. Fixed in Linux 3a2b378b3a9ca75d3518d879148d2ad25b5714a9, Linux 7a831bcd0486788283ef35e396d4282ee01bb0d5, Linux 993fd674fe85d114e6a8d3963033d4fbbc2170a8, Linux 86d531337ea1ba02d9f2bc830d07c683d9bfaade, Linux 84a04eb5b210643bd67aab81ff805d32f62aa865. Upgrade Linux to 84a04eb5b210643bd67aab81ff805d32f62aa865 or later.

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

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/3a2b378b3a9ca75d3518d879148d2ad25b5714a9>
- patch: <https://git.kernel.org/stable/c/7a831bcd0486788283ef35e396d4282ee01bb0d5>
- patch: <https://git.kernel.org/stable/c/ff976ef7c39199ebff33c18034636595016db9f0>
- patch: <https://git.kernel.org/stable/c/e28e7fd34c449028325322a3f5127b92594b7396>
- patch: <https://git.kernel.org/stable/c/993fd674fe85d114e6a8d3963033d4fbbc2170a8>
- patch: <https://git.kernel.org/stable/c/bd968bdd568beacfdf98ec537a87527e85f1d0cf>
- patch: <https://git.kernel.org/stable/c/86d531337ea1ba02d9f2bc830d07c683d9bfaade>
- patch: <https://git.kernel.org/stable/c/84a04eb5b210643bd67aab81ff805d32f62aa865>

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

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