# CVE-2026-74689: net/atm: fix slab-out-of-bounds read in vcc\_setsockopt()

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

- **Severity:** HIGH 7.1
- **CVSS:** 7.1 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; 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 5, 2026-11-26)
- **Published:** 2026-08-22T15:32:54.034Z
- **Modified:** 2026-10-16T20:17:51.950Z

## Who should check

- Anyone running Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< b3bcd5d65ac03c15787b2a5b36c718e26a689336; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 35f258fee9ed358c6d0f57f91c30bf029c3724af; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 6eb6af88710977eb529b558a07294874d8c40c4d; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 9f77c1ab382188f5b51982fab6d913443b6dc59f; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 2c5988c7349c0b64a7e0441bfc6e1dca54f7116a; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< d0c80dbb970439bd2eeb0e5effff8c16a5f4e1e3
- Anyone running Linux 2.6.12

## Description

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

net/atm: fix slab-out-of-bounds read in vcc\_setsockopt()

vcc\_setsockopt() contained an ineffective optlen check:
  if (\_\_SO\_LEVEL\_MATCH(optname, level) && optlen != \_\_SO\_SIZE(optname))
      return -EINVAL;

If \_\_SO\_LEVEL\_MATCH(optname, level) evaluated to false (e.g. if the caller
passed a mismatched level), the length check optlen != \_\_SO\_SIZE(optname)
was short-circuited and bypassed. Execution then fell through to switch(optname),
calling copy\_from\_sockptr() assuming optval contained sufficient space.

Furthermore, even if level matched, a cgroup BPF setsockopt filter could shrink
optlen after entry. Because copy\_from\_sockptr() on kernel pointers uses memcpy(),
this leads to a KASAN slab-out-of-bounds read when optlen is smaller than the
expected structure size.

Fix this by using copy\_safe\_from\_sockptr(), which unconditionally validates
that optlen is at least the expected size before copying. Also change the local
'value' variable type from 'unsigned long' to 'int' so that SO\_SETCLP matches
its sizeof(int) ABI encoding on 64-bit systems.

## Affected and fixed versions

- Linux: \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< b3bcd5d65ac03c15787b2a5b36c718e26a689336; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 35f258fee9ed358c6d0f57f91c30bf029c3724af; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 6eb6af88710977eb529b558a07294874d8c40c4d; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 9f77c1ab382188f5b51982fab6d913443b6dc59f; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 2c5988c7349c0b64a7e0441bfc6e1dca54f7116a; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< d0c80dbb970439bd2eeb0e5effff8c16a5f4e1e3 (cvelist)
- Linux: 2.6.12 (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-74689. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-74689.md
Affected: Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < b3bcd5d65ac03c15787b2a5b36c718e26a689336; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 35f258fee9ed358c6d0f57f91c30bf029c3724af; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 6eb6af88710977eb529b558a07294874d8c40c4d; >= 1da177e4c3f41524e886b7f…
Fixed in: Linux 35f258fee9ed358c6d0f57f91c30bf029c3724af, Linux 6eb6af88710977eb529b558a07294874d8c40c4d, Linux 9f77c1ab382188f5b51982fab6d913443b6dc59f, Linux 2c5988c7349c0b64a7e0441bfc6e1dca54f7116a

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

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

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

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

Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< b3bcd5d65ac03c15787b2a5b36c718e26a689336; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 35f258fee9ed358c6d0f57f91c30bf029c3724af; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 6eb6af88710977eb529b558a07294874d8c40c4d; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 9f77c1ab382188f5b51982fab6d913443b6dc59f; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 2c5988c7349c0b64a7e0441bfc6e1dca54f7116a; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< d0c80dbb970439bd2eeb0e5effff8c16a5f4e1e3; Linux 2.6.12.

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

Yes. Fixed in Linux 35f258fee9ed358c6d0f57f91c30bf029c3724af, Linux 6eb6af88710977eb529b558a07294874d8c40c4d, Linux 9f77c1ab382188f5b51982fab6d913443b6dc59f, Linux 2c5988c7349c0b64a7e0441bfc6e1dca54f7116a. No fix listed yet: follow the vendor advisory.

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

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/b3bcd5d65ac03c15787b2a5b36c718e26a689336>
- other: <https://git.kernel.org/stable/c/35f258fee9ed358c6d0f57f91c30bf029c3724af>
- other: <https://git.kernel.org/stable/c/6eb6af88710977eb529b558a07294874d8c40c4d>
- other: <https://git.kernel.org/stable/c/9f77c1ab382188f5b51982fab6d913443b6dc59f>
- other: <https://git.kernel.org/stable/c/2c5988c7349c0b64a7e0441bfc6e1dca54f7116a>
- other: <https://git.kernel.org/stable/c/d0c80dbb970439bd2eeb0e5effff8c16a5f4e1e3>

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

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