7.1
HIGH CVSS 3.1
CVE-2026-74689
net/atm: fix slab-out-of-bounds read in vcc_setsockopt()
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.

INFO

Published Date :

Aug. 22, 2026, 4:16 p.m.

Last Modified :

Oct. 16, 2026, 8:17 p.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2026-74689 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 134c704f-9b21-4f2e-91b3-4a467353bcc0
CVSS 3.1 HIGH 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
Fix slab-out-of-bounds read by using copy_safe_from_sockptr and adjusting variable types.
  • Use copy_safe_from_sockptr for secure data copying.
  • Validate optlen against expected size before copying.
  • Adjust 'value' variable type to 'int' for ABI compatibility.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-74689 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-74689 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-74689 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-74689 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Oct. 16, 2026

    Action Type Old Value New Value
    Added Reference https://git.kernel.org/stable/c/2c5988c7349c0b64a7e0441bfc6e1dca54f7116a
    Added Reference https://git.kernel.org/stable/c/35f258fee9ed358c6d0f57f91c30bf029c3724af
    Added Reference https://git.kernel.org/stable/c/6eb6af88710977eb529b558a07294874d8c40c4d
    Added Reference https://git.kernel.org/stable/c/9f77c1ab382188f5b51982fab6d913443b6dc59f
    Added Reference https://git.kernel.org/stable/c/b3bcd5d65ac03c15787b2a5b36c718e26a689336
    Added Reference https://git.kernel.org/stable/c/d0c80dbb970439bd2eeb0e5effff8c16a5f4e1e3
    Removed Reference https://git.kernel.org/stable/c/2c5988c7349c0b64a7e0441bfc6e1dca54f7116a
    Removed Reference https://git.kernel.org/stable/c/35f258fee9ed358c6d0f57f91c30bf029c3724af
    Removed Reference https://git.kernel.org/stable/c/6eb6af88710977eb529b558a07294874d8c40c4d
    Removed Reference https://git.kernel.org/stable/c/9f77c1ab382188f5b51982fab6d913443b6dc59f
    Removed Reference https://git.kernel.org/stable/c/b3bcd5d65ac03c15787b2a5b36c718e26a689336
    Removed Reference https://git.kernel.org/stable/c/d0c80dbb970439bd2eeb0e5effff8c16a5f4e1e3
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Oct. 16, 2026

    Action Type Old Value New Value
    Added SSVC {'id': 'CVE-2026-74689', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2026-10-16T19:14:36.506932Z'}
  • CVE Translated by [email protected]

    Oct. 14, 2026

    Action Type Old Value New Value
    Added Translation Title: Linux, Description: En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: net/atm: corrige lectura fuera de límites de slab en vcc_setsockopt() vcc_setsockopt() contenía una comprobación de optlen ineficaz: if (__SO_LEVEL_MATCH(optname, level) && optlen != __SO_SIZE(optname)) return -EINVAL; Si __SO_LEVEL_MATCH(optname, level) evaluaba a falso (por ejemplo, si el llamador pasaba un nivel no coincidente), la comprobación de longitud optlen != __SO_SIZE(optname) era cortocircuitada y omitida. La ejecución entonces pasaba a switch(optname), llamando a copy_from_sockptr() asumiendo que optval contenía espacio suficiente. Además, incluso si el nivel coincidía, un filtro setsockopt de cgroup BPF podría reducir optlen después de la entrada. Debido a que copy_from_sockptr() en punteros de kernel usa memcpy(), esto lleva a una lectura fuera de límites de slab de KASAN cuando optlen es menor que el tamaño de estructura esperado. Solucione esto usando copy_safe_from_sockptr(), que valida incondicionalmente que optlen tiene al menos el tamaño esperado antes de copiar. También cambie el tipo de la variable local 'value' de 'unsigned long' a 'int' para que SO_SETCLP coincida con su codificación ABI sizeof(int) en sistemas de 64 bits.
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Aug. 25, 2026

    Action Type Old Value New Value
    Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Aug. 22, 2026

    Action Type Old Value New Value
    Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '1da177e4c3f41524e886b7f1b8a0c1fc7321cac2', 'lessThan': 'b3bcd5d65ac03c15787b2a5b36c718e26a689336', 'versionType': 'git'}, {'status': 'affected', 'version': '1da177e4c3f41524e886b7f1b8a0c1fc7321cac2', 'lessThan': '35f258fee9ed358c6d0f57f91c30bf029c3724af', 'versionType': 'git'}, {'status': 'affected', 'version': '1da177e4c3f41524e886b7f1b8a0c1fc7321cac2', 'lessThan': '6eb6af88710977eb529b558a07294874d8c40c4d', 'versionType': 'git'}, {'status': 'affected', 'version': '1da177e4c3f41524e886b7f1b8a0c1fc7321cac2', 'lessThan': '9f77c1ab382188f5b51982fab6d913443b6dc59f', 'versionType': 'git'}, {'status': 'affected', 'version': '1da177e4c3f41524e886b7f1b8a0c1fc7321cac2', 'lessThan': '2c5988c7349c0b64a7e0441bfc6e1dca54f7116a', 'versionType': 'git'}, {'status': 'affected', 'version': '1da177e4c3f41524e886b7f1b8a0c1fc7321cac2', 'lessThan': 'd0c80dbb970439bd2eeb0e5effff8c16a5f4e1e3', 'versionType': 'git'}], 'programFiles': ['net/atm/common.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '2.6.12'}, {'status': 'unaffected', 'version': '0', 'lessThan': '2.6.12', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.1.183', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.152', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.104', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.45', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.9', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['net/atm/common.c'], 'defaultStatus': 'affected'}]
    Added 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.
    Added Reference https://git.kernel.org/stable/c/2c5988c7349c0b64a7e0441bfc6e1dca54f7116a
    Added Reference https://git.kernel.org/stable/c/35f258fee9ed358c6d0f57f91c30bf029c3724af
    Added Reference https://git.kernel.org/stable/c/6eb6af88710977eb529b558a07294874d8c40c4d
    Added Reference https://git.kernel.org/stable/c/9f77c1ab382188f5b51982fab6d913443b6dc59f
    Added Reference https://git.kernel.org/stable/c/b3bcd5d65ac03c15787b2a5b36c718e26a689336
    Added Reference https://git.kernel.org/stable/c/d0c80dbb970439bd2eeb0e5effff8c16a5f4e1e3
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.