CVE-2026-74689: net/atm: fix slab-out-of-bounds read in vcc_setsockopt()

Published Aug 22, 2026
·
Updated

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

net/atm: fix slab-out-of-bounds read in vccsetsockopt()

vccsetsockopt() contained an ineffective optlen check: if (SOLEVELMATCH(optname, level) && optlen != SOSIZE(optname)) return -EINVAL;

If SOLEVELMATCH(optname, level) evaluated to false (e.g. if the caller passed a mismatched level), the length check optlen != SOSIZE(optname) was short-circuited and bypassed. Execution then fell through to switch(optname), calling copyfromsockptr() assuming optval contained sufficient space.

Furthermore, even if level matched, a cgroup BPF setsockopt filter could shrink optlen after entry. Because copyfromsockptr() 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 copysafefromsockptr(), 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 SOSETCLP matches its sizeof(int) ABI encoding on 64-bit systems.

Affected Software

2 affected componentsFixes available
Linux Linux kernel
Microsoft azl3 kernel 6.6.150.1-1<6.6.152.1-1
6.6.152.1-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 6.6.152.1-1

Event History

Aug 22, 2026
CVE Published
via MITRE·03:32 PM
Data Sourced
via MITRE·03:32 PM
DescriptionSeverity
Data Sourced
via NVD·04:16 PM
DescriptionSeverity
Aug 24, 2026
Data Sourced
via Microsoft·08:02 AM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What input conditions can trigger the out-of-bounds read?

The unsafe copy can occur when a caller supplies a mismatched socket-option level, allowing the original option-length check to be bypassed, and provides an optlen smaller than the structure expected for the option. A cgroup BPF setsockopt filter can also shrink optlen after the initial check.

2

What changes address the issue?

The fix replaces the copy operation with copy_safe_from_sockptr(), which verifies that optlen is at least the required size before copying. It also changes the SO_SETCLP local value type to int so its size matches the sizeof(int) ABI encoding on 64-bit systems.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203