# CVE-2026-53004: sctp: fix OOB write to userspace in sctp\_getsockopt\_peer\_auth\_chunks

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; 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.18% (percentile 4, 2026-11-26)
- **CWE:** CWE-787
- **Published:** 2026-06-24T16:29:16.151Z
- **Modified:** 2026-11-06T17:18:00.690Z

## Who should check

- Anyone running Linux \>= 65b07e5d0d09c77e98050b5f0146ead29e5add32, \< a132e199de69e2a45628aa8534df1bf5d44e1b6e; \>= 65b07e5d0d09c77e98050b5f0146ead29e5add32, \< 2b5a2c957c7769d40110f725cf23987fcef50d75; \>= 65b07e5d0d09c77e98050b5f0146ead29e5add32, \< d45c7e99caf915b0f6c716bd8ffe9d45b9685761; \>= 65b07e5d0d09c77e98050b5f0146ead29e5add32, \< d67fbc6dea5dbf7f46c618ebf65910a276078e20; \>= 65b07e5d0d09c77e98050b5f0146ead29e5add32, \< 6849b995cda88a677bf08a05765d1db7905974fc; \>= 65b07e5d0d09c77e98050b5f0146ead29e5add32, \< 70a089cc9590aa347a61e84434116ab74619e3c3; \>= 65b07e5d0d09c77e98050b5f0146ead29e5add32, \< 6bcf8fe4ef7967b22b814cbae9a57bbd3c853410; \>= 65b07e5d0d09c77e98050b5f0146ead29e5add32, \< 0cf004ffb61cd32d140531c3a84afe975f9fc7ea
- Anyone running Linux 2.6.24

## Description

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

sctp: fix OOB write to userspace in sctp\_getsockopt\_peer\_auth\_chunks

sctp\_getsockopt\_peer\_auth\_chunks() checks that the caller's optval
buffer is large enough for the peer AUTH chunk list with

    if (len \< num\_chunks)
            return -EINVAL;

but then writes num\_chunks bytes to p-\>gauth\_chunks, which lives
at offset offsetof(struct sctp\_authchunks, gauth\_chunks) == 8
inside optval.  The check is missing the sizeof(struct
sctp\_authchunks) = 8-byte header.  When the caller supplies
len == num\_chunks (for any num\_chunks \> 0) the test passes but
copy\_to\_user() writes sizeof(struct sctp\_authchunks) = 8 bytes
past the declared buffer.

The sibling function sctp\_getsockopt\_local\_auth\_chunks() at the
next line already has the correct check:

    if (len \< sizeof(struct sctp\_authchunks) + num\_chunks)
            return -EINVAL;

Align the peer variant with its sibling.

Reproducer confirms on v7.0-13-generic: an unprivileged userspace
caller that opens a loopback SCTP association with AUTH enabled,
queries num\_chunks with a short optval, then issues the real
getsockopt with len == num\_chunks and sentinel bytes painted past
the buffer observes those sentinel bytes overwritten with the
peer's AUTH chunk type.  The bytes written are under the peer's
control but land in the caller's own userspace; this is not a
kernel memory corruption, but it is a kernel-side contract
violation that can silently corrupt adjacent userspace data.

## Affected and fixed versions

- Linux: \>= 65b07e5d0d09c77e98050b5f0146ead29e5add32, \< a132e199de69e2a45628aa8534df1bf5d44e1b6e; \>= 65b07e5d0d09c77e98050b5f0146ead29e5add32, \< 2b5a2c957c7769d40110f725cf23987fcef50d75; \>= 65b07e5d0d09c77e98050b5f0146ead29e5add32, \< d45c7e99caf915b0f6c716bd8ffe9d45b9685761; \>= 65b07e5d0d09c77e98050b5f0146ead29e5add32, \< d67fbc6dea5dbf7f46c618ebf65910a276078e20; \>= 65b07e5d0d09c77e98050b5f0146ead29e5add32, \< 6849b995cda88a677bf08a05765d1db7905974fc; \>= 65b07e5d0d09c77e98050b5f0146ead29e5add32, \< 70a089cc9590aa347a61e84434116ab74619e3c3; \>= 65b07e5d0d09c77e98050b5f0146ead29e5add32, \< 6bcf8fe4ef7967b22b814cbae9a57bbd3c853410; \>= 65b07e5d0d09c77e98050b5f0146ead29e5add32, \< 0cf004ffb61cd32d140531c3a84afe975f9fc7ea (cvelist)
- Linux: 2.6.24 (cvelist)

## Mitigation

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

Details: https://flawdb.com/CVE-2026-53004.md
Affected: Linux >= 65b07e5d0d09c77e98050b5f0146ead29e5add32, < a132e199de69e2a45628aa8534df1bf5d44e1b6e; >= 65b07e5d0d09c77e98050b5f0146ead29e5add32, < 2b5a2c957c7769d40110f725cf23987fcef50d75; >= 65b07e5d0d09c77e98050b5f0146ead29e5add32, < d45c7e99caf915b0f6c716bd8ffe9d45b9685761; >= 65b07e5d0d09c77e98050b5…
Fixed in: Linux 2b5a2c957c7769d40110f725cf23987fcef50d75, Linux 6849b995cda88a677bf08a05765d1db7905974fc, Linux 70a089cc9590aa347a61e84434116ab74619e3c3, Linux 6bcf8fe4ef7967b22b814cbae9a57bbd3c853410, Linux 0cf004ffb61cd32d140531c3a84afe975f9fc7ea

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

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

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

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

Linux \>= 65b07e5d0d09c77e98050b5f0146ead29e5add32, \< a132e199de69e2a45628aa8534df1bf5d44e1b6e; \>= 65b07e5d0d09c77e98050b5f0146ead29e5add32, \< 2b5a2c957c7769d40110f725cf23987fcef50d75; \>= 65b07e5d0d09c77e98050b5f0146ead29e5add32, \< d45c7e99caf915b0f6c716bd8ffe9d45b9685761; \>= 65b07e5d0d09c77e98050b5f0146ead29e5add32, \< d67fbc6dea5dbf7f46c618ebf65910a276078e20; \>= 65b07e5d0d09c77e98050b5f0146ead29e5add32, \< 6849b995cda88a677bf08a05765d1db7905974fc; \>= 65b07e5d0d09c77e98050b5f0146ead29e5add32, \< 70a089cc9590aa347a61e84434116ab74619e3c3; \>= 65b07e5d0d09c77e98050b5f0146ead29e5add32, \< 6bcf8fe4ef7967b22b814cbae9a57bbd3c853410; \>= 65b07e5d0d09c77e98050b5f0146ead29e5add32, \< 0cf004ffb61cd32d140531c3a84afe975f9fc7ea; Linux 2.6.24.

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

Yes. Fixed in Linux 2b5a2c957c7769d40110f725cf23987fcef50d75, Linux 6849b995cda88a677bf08a05765d1db7905974fc, Linux 70a089cc9590aa347a61e84434116ab74619e3c3, Linux 6bcf8fe4ef7967b22b814cbae9a57bbd3c853410, Linux 0cf004ffb61cd32d140531c3a84afe975f9fc7ea. Upgrade Linux to 0cf004ffb61cd32d140531c3a84afe975f9fc7ea or later.

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

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/a132e199de69e2a45628aa8534df1bf5d44e1b6e>
- patch: <https://git.kernel.org/stable/c/2b5a2c957c7769d40110f725cf23987fcef50d75>
- patch: <https://git.kernel.org/stable/c/d45c7e99caf915b0f6c716bd8ffe9d45b9685761>
- patch: <https://git.kernel.org/stable/c/d67fbc6dea5dbf7f46c618ebf65910a276078e20>
- patch: <https://git.kernel.org/stable/c/6849b995cda88a677bf08a05765d1db7905974fc>
- patch: <https://git.kernel.org/stable/c/70a089cc9590aa347a61e84434116ab74619e3c3>
- patch: <https://git.kernel.org/stable/c/6bcf8fe4ef7967b22b814cbae9a57bbd3c853410>
- patch: <https://git.kernel.org/stable/c/0cf004ffb61cd32d140531c3a84afe975f9fc7ea>

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

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