CVE-2026-52928

af_unix: Reject SIOCATMARK on non-stream sockets

Published Jun 24, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

af_unix: Reject SIOCATMARK on non-stream sockets

SIOCATMARK reports whether the receive queue is at the urgent mark for
MSG_OOB.

In AF_UNIX, MSG_OOB is supported only for SOCK_STREAM sockets.
SOCK_DGRAM and SOCK_SEQPACKET reject MSG_OOB in sendmsg() and recvmsg(),
so they should not support SIOCATMARK either.

Return -EOPNOTSUPP for non-stream sockets before checking the receive
queue.

Analysis

AI-generated

Technical impact

The af_unix subsystem in the Linux kernel previously performed the SIOCATMARK ioctl on sockets that were not of type SOCK_STREAM. This ioctl reports whether the receive queue has reached the urgent mark for MSG_OOB data, a feature that is only supported for stream sockets. The kernel incorrectly allowed the ioctl to proceed on SOCK_DGRAM and SOCK_SEQPACKET sockets, potentially returning misleading information or causing unrelated kernel logic to react to the call. The applied patch adds a precheck that returns –EOPNOTSUPP for non‑stream sockets, aligning the behaviour with the existing rejection in sendmsg() and recvmsg() and preventing the ioctl from succeeding when it is undefined. The weakness is classified as CWE‑1287, representing improper kernel interface or misuse of system calls, and an additional NVD-CWE-noinfo indicates an unmapped or unspecified weakness in the NVD.

Affected Systems

All releases of the Linux kernel that contain the af_unix implementation before the patch are affected. The bug is present on every kernel version that has not yet integrated the change, regardless of distribution or version number. The patch is distributed through the official kernel source and is incorporated into subsequent kernel releases.

Risk and Exploitability

The CVSS score is 5.5. The issue is a defensive programming bug that resulted in returning an appropriate error code rather than exposing a memory or control‑flow vulnerability. No known exploitation methods exist, and the EPSS score is < 1%. The vulnerability is not listed in the CISA KEV catalog, indicating a low likelihood of real‑world exploitation. Based on the description, it is inferred that the likely attack vector is a local or unprivileged user intentionally calling SIOCATMARK on a non‑stream socket, which would simply result in an EOPNOTSUPP error rather than compromise.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the kernel to a version that contains the af_unix patch
  • Modify applications to avoid calling SIOCATMARK on non‑stream AF_UNIX sockets or to handle the EOPNOTSUPP error appropriately
  • Review system logs for unexpected EOPNOTSUPP errors related to SIOCATMARK on non‑stream sockets to confirm correct behaviour

Generated by OpenCVE AI on August 12, 2026 at 05:31 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4688-1 linux security update
Debian DLA Debian DLA DLA-4700-1 linux-6.1 security update
Ubuntu USN Ubuntu USN USN-8566-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8568-1 Linux kernel (OEM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8569-1 Linux kernel (HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-8593-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8603-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8618-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8663-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-8664-1 Linux kernel (NVIDIA BaseOS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-1 Linux kernel (GCP) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-2 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-3 Linux kernel (Oracle) vulnerabilities
Ubuntu USN Ubuntu USN USN-8876-1 Linux kernel (Azure CVM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8875-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8877-1 Linux kernel (GCP) vulnerabilities
Ubuntu USN Ubuntu USN USN-8878-1 Linux kernel (GCP) vulnerabilities
Ubuntu USN Ubuntu USN USN-8879-1 Linux kernel (Oracle) vulnerabilities
Ubuntu USN Ubuntu USN USN-8875-2 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-8917-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8918-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9024-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9025-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9026-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9029-1 Linux kernel (Raspberry Pi) vulnerabilities
Ubuntu USN Ubuntu USN USN-9040-1 Linux kernel (Low Latency NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9066-1 Linux kernel (HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-9091-1 Linux kernel (NVIDIA Tegra) vulnerabilities
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses CWE-20
Type Values Removed Values Added
Weaknesses CWE-1287
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Low

Type Values Removed Values Added
Weaknesses CWE-20
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: af_unix: Reject SIOCATMARK on non-stream sockets SIOCATMARK reports whether the receive queue is at the urgent mark for MSG_OOB. In AF_UNIX, MSG_OOB is supported only for SOCK_STREAM sockets. SOCK_DGRAM and SOCK_SEQPACKET reject MSG_OOB in sendmsg() and recvmsg(), so they should not support SIOCATMARK either. Return -EOPNOTSUPP for non-stream sockets before checking the receive queue.
Title af_unix: Reject SIOCATMARK on non-stream sockets
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 6, 2026, 4:23 PM
Reserved
Jun 9, 2026, 7:44 AM
Status
Modified
Published
Jun 24, 2026, 8:16 AM
Modified
Nov 6, 2026, 5:17 PM
Severity
Low
Public date
Jun 24, 2026, 12:00 AM