# CVE-2026-80852: tls: device: fix out-of-bounds write in tls\_append\_frag()

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.24% (percentile 9, 2026-11-26)
- **Published:** 2026-09-04T15:55:02.806Z
- **Modified:** 2026-10-30T13:20:12.523Z

## Who should check

- Anyone running Linux \>= e8f69799810c32dd40c6724d829eccc70baad07f, \< bc09411a11b5a676c59ff8612c6873d014f6fb36; \>= e8f69799810c32dd40c6724d829eccc70baad07f, \< 1fc6eb0c756b8be693b72e9e636ae5e236dcb6ee; \>= e8f69799810c32dd40c6724d829eccc70baad07f, \< 03ced5da6120965d80ed56dbb7d78fa5c9128906; \>= e8f69799810c32dd40c6724d829eccc70baad07f, \< a832d7cb09da2a8e4e9734b4be14d3e76169d805; \>= e8f69799810c32dd40c6724d829eccc70baad07f, \< b7f10d4ff987bda038df90052cd4a1434a7412d4; \>= e8f69799810c32dd40c6724d829eccc70baad07f, \< fadbc1ed2a872a8649a44cf9e1cf9621fc58cd6e; \>= e8f69799810c32dd40c6724d829eccc70baad07f, \< cd7e875b89597f3498917af764758391338d1802; \>= e8f69799810c32dd40c6724d829eccc70baad07f, \< 7e1208c135618358da5d7d6664874dc6e53c62fc; \>= e8f69799810c32dd40c6724d829eccc70baad07f, \< b17cf742eaad70ae29ac558cefb3aa9bbeea03d4
- Anyone running Linux 4.18

## Description

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

tls: device: fix out-of-bounds write in tls\_append\_frag()

Found with syzkaller and a local syzbot instance running on top of a
netdevsim TLS offload emulation; tls\_device.c is otherwise only reachable
on a machine with a NIC that implements the offload.

tls\_push\_data() only checks whether the open record still has room for
another frag at the bottom of its loop, and the MSG\_MORE early break
skips that check.  The record survives to the next syscall with the frag
count it already had, and tls\_append\_frag() does not check either, so
with TLS\_TX\_ZEROCOPY\_RO every splice(SPLICE\_F\_MORE) of a byte or two adds
a non-coalescing pipe page and num\_frags walks off the end of
tls\_record\_info.frags\[MAX\_SKB\_FRAGS\].  Once the record is pushed,
tls\_push\_record() runs the same index over sg\_tx\_data\[MAX\_SKB\_FRAGS\] and
the sg\_set\_page() writes land on the destruct\_work that follows it, which
the workqueue then calls.

The byte limit is fine because copy drops to 0 and the loop falls through
to the same check; the frag count has no such feedback.

Push the record rather than keep a full one open, which is what a plain
TCP socket does - tcp\_sendmsg\_locked() uses tcp\_mark\_push() and
new\_segment in both the copy and the MSG\_SPLICE\_PAGES paths, and tls\_sw
already sets full\_record when the sk\_msg ring fills up, MSG\_MORE or not.

  BUG: KASAN: slab-out-of-bounds in tls\_append\_frag ( net/tls/tls\_device.c:269)
  Write of size 8 at addr ffff8881104d1530 by task tls\_oob/450

  CPU: 2 UID: 0 PID: 450 Comm: tls\_oob Not tainted 7.2.0-rc7+ \#329 PREEMPT
  Call Trace:
   \<TASK\>
   dump\_stack\_lvl (lib/dump\_stack.c:94 lib/dump\_stack.c:120)
   print\_report (mm/kasan/report.c:378 mm/kasan/report.c:482)
   kasan\_report (mm/kasan/report.c:595)
   tls\_append\_frag (net/tls/tls\_device.c:269)
   tls\_push\_data (net/tls/tls\_device.c:518)
   tls\_device\_sendmsg (net/tls/tls\_device.c:583)
   inet\_sendmsg (net/ipv4/af\_inet.c:865)
   sock\_sendmsg (net/socket.c:775 net/socket.c:790 net/socket.c:813)
   splice\_to\_socket (fs/splice.c:884)
   do\_splice (fs/splice.c:936 fs/splice.c:1349)
   \_\_do\_splice (fs/splice.c:1431)
   \_\_x64\_sys\_splice (fs/splice.c:1634 fs/splice.c:1616)
   do\_syscall\_64 (arch/x86/entry/syscall\_64.c:63 arch/x86/entry/syscall\_64.c:94)
   entry\_SYSCALL\_64\_after\_hwframe (arch/x86/entry/entry\_64.S:121)
   \</TASK\>

and, once the record is pushed:

  UBSAN: array-index-out-of-bounds in net/tls/tls\_device.c:300:24
  index 18 is out of range for type 'skb\_frag\_t \[17\]'
  UBSAN: array-index-out-of-bounds in net/tls/tls\_device.c:301:41
  index 18 is out of range for type 'scatterlist \[17\]'
  UBSAN: array-index-out-of-bounds in net/tls/tls\_device.c:302:39
  index 18 is out of range for type 'scatterlist \[17\]'
  UBSAN: array-index-out-of-bounds in net/tls/tls\_device.c:307:38
  index 26 is out of range for type 'scatterlist \[17\]'

  kernel tried to execute NX-protected page - exploit attempt? (uid: 0)
  BUG: unable to handle page fault for address: ffffea000411a680
  \#PF: supervisor instruction fetch in kernel mode
  \#PF: error\_code(0x0011) - permissions violation
  Oops: Oops: 0011 \[\#1\] SMP KASAN PTI
  Workqueue: ktls\_device\_destruct 0xffffea000411a680
  RIP: 0010:0xffffea000411a680
  Call Trace:
   \<TASK\>
   worker\_thread (kernel/workqueue.c:3405 kernel/workqueue.c:3486)
   kthread (kernel/kthread.c:436)
   ret\_from\_fork (arch/x86/kernel/process.c:158)
   ret\_from\_fork\_asm (arch/x86/entry/entry\_64.S:245)
   \</TASK\>

## Affected and fixed versions

- Linux: \>= e8f69799810c32dd40c6724d829eccc70baad07f, \< bc09411a11b5a676c59ff8612c6873d014f6fb36; \>= e8f69799810c32dd40c6724d829eccc70baad07f, \< 1fc6eb0c756b8be693b72e9e636ae5e236dcb6ee; \>= e8f69799810c32dd40c6724d829eccc70baad07f, \< 03ced5da6120965d80ed56dbb7d78fa5c9128906; \>= e8f69799810c32dd40c6724d829eccc70baad07f, \< a832d7cb09da2a8e4e9734b4be14d3e76169d805; \>= e8f69799810c32dd40c6724d829eccc70baad07f, \< b7f10d4ff987bda038df90052cd4a1434a7412d4; \>= e8f69799810c32dd40c6724d829eccc70baad07f, \< fadbc1ed2a872a8649a44cf9e1cf9621fc58cd6e; \>= e8f69799810c32dd40c6724d829eccc70baad07f, \< cd7e875b89597f3498917af764758391338d1802; \>= e8f69799810c32dd40c6724d829eccc70baad07f, \< 7e1208c135618358da5d7d6664874dc6e53c62fc; \>= e8f69799810c32dd40c6724d829eccc70baad07f, \< b17cf742eaad70ae29ac558cefb3aa9bbeea03d4 (cvelist)
- Linux: 4.18 (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-80852. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-80852.md
Affected: Linux >= e8f69799810c32dd40c6724d829eccc70baad07f, < bc09411a11b5a676c59ff8612c6873d014f6fb36; >= e8f69799810c32dd40c6724d829eccc70baad07f, < 1fc6eb0c756b8be693b72e9e636ae5e236dcb6ee; >= e8f69799810c32dd40c6724d829eccc70baad07f, < 03ced5da6120965d80ed56dbb7d78fa5c9128906; >= e8f69799810c32dd40c6724…
Fixed in: Linux 1fc6eb0c756b8be693b72e9e636ae5e236dcb6ee, Linux 03ced5da6120965d80ed56dbb7d78fa5c9128906, Linux 7e1208c135618358da5d7d6664874dc6e53c62fc

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

There is no confirmed exploitation: CVE-2026-80852 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-2026-80852?

It has no CVSS score yet. Unknown.

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

Linux \>= e8f69799810c32dd40c6724d829eccc70baad07f, \< bc09411a11b5a676c59ff8612c6873d014f6fb36; \>= e8f69799810c32dd40c6724d829eccc70baad07f, \< 1fc6eb0c756b8be693b72e9e636ae5e236dcb6ee; \>= e8f69799810c32dd40c6724d829eccc70baad07f, \< 03ced5da6120965d80ed56dbb7d78fa5c9128906; \>= e8f69799810c32dd40c6724d829eccc70baad07f, \< a832d7cb09da2a8e4e9734b4be14d3e76169d805; \>= e8f69799810c32dd40c6724d829eccc70baad07f, \< b7f10d4ff987bda038df90052cd4a1434a7412d4; \>= e8f69799810c32dd40c6724d829eccc70baad07f, \< fadbc1ed2a872a8649a44cf9e1cf9621fc58cd6e; \>= e8f69799810c32dd40c6724d829eccc70baad07f, \< cd7e875b89597f3498917af764758391338d1802; \>= e8f69799810c32dd40c6724d829eccc70baad07f, \< 7e1208c135618358da5d7d6664874dc6e53c62fc; \>= e8f69799810c32dd40c6724d829eccc70baad07f, \< b17cf742eaad70ae29ac558cefb3aa9bbeea03d4; Linux 4.18.

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

Yes. Fixed in Linux 1fc6eb0c756b8be693b72e9e636ae5e236dcb6ee, Linux 03ced5da6120965d80ed56dbb7d78fa5c9128906, Linux 7e1208c135618358da5d7d6664874dc6e53c62fc. No fix listed yet: follow the vendor advisory.

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

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

- other: <https://git.kernel.org/stable/c/bc09411a11b5a676c59ff8612c6873d014f6fb36>
- other: <https://git.kernel.org/stable/c/1fc6eb0c756b8be693b72e9e636ae5e236dcb6ee>
- other: <https://git.kernel.org/stable/c/03ced5da6120965d80ed56dbb7d78fa5c9128906>
- other: <https://git.kernel.org/stable/c/a832d7cb09da2a8e4e9734b4be14d3e76169d805>
- other: <https://git.kernel.org/stable/c/b7f10d4ff987bda038df90052cd4a1434a7412d4>
- other: <https://git.kernel.org/stable/c/fadbc1ed2a872a8649a44cf9e1cf9621fc58cd6e>
- other: <https://git.kernel.org/stable/c/cd7e875b89597f3498917af764758391338d1802>
- other: <https://git.kernel.org/stable/c/7e1208c135618358da5d7d6664874dc6e53c62fc>
- other: <https://git.kernel.org/stable/c/b17cf742eaad70ae29ac558cefb3aa9bbeea03d4>

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

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