CVE-2026-90327

phonet: pep: do not write beyond optlen in getsockopt

N/A
Published: September 17, 2026 at 04:08 PM UTC
Updated: October 19, 2026 at 09:19 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
N/A
Exploit prediction
EPSS 0.2%

Description

In the Linux kernel, the following vulnerability has been resolved: phonet: pep: do not write beyond optlen in getsockopt pep_getsockopt() clamps the reported length to the caller's buffer with min_t(), but then stores the value with put_user(val, (int __user *) optval), which always writes sizeof(int) bytes. A getsockopt() call with an optlen smaller than sizeof(int) thus reports the clamped length yet writes a full int, one to three bytes past the user buffer. Write the value with copy_to_user() bounded by len, so at most optlen bytes are copied, matching the length reported back to userspace.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

02a47617cdce440f60c71a51f3a93f9f5fcc5a7a2.6.282a47617cdce440f60c71a51f3a93f9f5fcc5a7a
Vendor states this is fixed in 056eea1a2068ad2fb7c3093c5f1095268f87d0c7 (fixed)
Vendor states this is fixed in 1bf499e438da80455e258049bce60ffb3a53f3fa (fixed)
Vendor states this is fixed in 6054fed6bad08b6d03973e8ffca7f0c9394d1c30 (fixed)
Vendor states this is fixed in 77e5eb0e192aec6710c03ca8144582fd2af36ca4 (fixed)
Vendor states this is fixed in 95e0ed2439dd1792eb454c68ae8d10f30ffe3bff (fixed)
Vendor states this is fixed in c4487e4d5309de587479ecc2f5173b49586f46f4 (fixed)
Vendor states this is fixed in eac733a0b6fe0a52d91f9f623425735ed50ac6c2 (fixed)
Vendor states this is fixed in f97022fefe6eb06ee18549d603420440f2959802 (fixed)
Vendor states this is fixed in 2.6.28 (unaffected)
Vendor states this is fixed in 5.10.270 (unaffected)
Vendor states this is fixed in 5.15.221 (unaffected)
Vendor states this is fixed in 6.1.188 (unaffected)
Vendor states this is fixed in 6.12.110 (unaffected)
Vendor states this is fixed in 6.18.52 (unaffected)
Vendor states this is fixed in 6.6.157 (unaffected)
Vendor states this is fixed in 7.2.6 (unaffected)
Vendor states this is fixed in 7.3 (unaffected)
Vendor states this is fixed in 7.3-rc1 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

Quick Info

StatusRECEIVED

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card