MEDIUM 5.5

CVE-2026-52928: Linux Kernel AF_UNIX SIOCATMARK Denial of Service Vulnerability

A flaw in the Linux kernel's AF_UNIX socket implementation allows improper handling of the SIOCATMARK socket operation on datagram and sequenced packet sockets. SIOCATMARK is designed to check whether incoming data has reached an urgent marker—a feature that should only apply to stream-based sockets. The kernel currently does not reject this operation on other socket types, potentially leading to unexpected behavior or denial of service. The fix ensures SIOCATMARK returns an unsupported error for non-stream sockets, aligning the kernel's behavior with its own rules for out-of-band messaging.

Source data · NVD / CISA · public domain

CVSS
3.1 · 5.5 MEDIUM · CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weaknesses (CWE)
Affected products
3 configuration(s)
Published / Modified
2026-06-24 / 2026-07-08

NVD description (verbatim)

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.

7 reference(s) · View on NVD →

SEC.co analysis · AI-assisted, reviewed against source

Technical summary

CVE-2026-52928 addresses a logic inconsistency in the AF_UNIX socket family implementation. The SIOCATMARK ioctl is used to query whether the socket receive queue is positioned at an out-of-band (OOB) urgent mark. The Linux kernel explicitly restricts MSG_OOB support to SOCK_STREAM sockets; both SOCK_DGRAM (datagram) and SOCK_SEQPACKET socket types reject MSG_OOB in their sendmsg() and recvmsg() handlers. However, SIOCATMARK was not validating the socket type before processing the request. The vulnerability is resolved by returning -EOPNOTSUPP (Operation not supported) for non-stream sockets, enforcing consistency with the kernel's existing OOB handling policy.

Business impact

This vulnerability primarily affects system stability on servers running unpatched Linux kernels. A local, unprivileged user could exploit the inconsistency to trigger denial of service conditions, potentially disrupting applications that rely on AF_UNIX sockets for inter-process communication. The impact is limited to local attack scenarios—an authenticated user on the system is required—but could affect containerized environments, multi-tenant systems, or any deployment where unprivileged processes operate alongside sensitive services.

Affected systems

All versions of the Linux kernel prior to the patch are affected. The vulnerability impacts systems using AF_UNIX sockets (datagram or sequenced packet types) on Linux. This includes most Linux distributions, embedded Linux systems, and container orchestration platforms. Consult your Linux distribution's security advisory to identify specific affected kernel versions and patch availability.

Exploitability

Exploitation requires local system access and the ability to create AF_UNIX sockets, meaning an attacker must have a user account or container context on the target system. No network access is required. The operation itself is simple—an unprivileged user can invoke SIOCATMARK on an appropriately configured socket—but impact is limited to denial of service. Public exploit code is not known to exist for this issue; the vulnerability requires specific knowledge of socket programming and kernel internals to weaponize.

Remediation

Apply a kernel patch that adds socket-type validation to the SIOCATMARK handler, rejecting the operation for SOCK_DGRAM and SOCK_SEQPACKET sockets before processing the request. This is a focused, low-risk fix that restores kernel consistency without changing the broader AF_UNIX or OOB message-handling architecture. Verify against vendor advisories from your Linux distribution for specific patch versions and availability timelines.

Patch guidance

Obtain the latest kernel update from your Linux distribution's security repository. The fix is a minimal change to the AF_UNIX socket implementation and should be prioritized in regular kernel update cycles. Distributions typically backport such fixes to stable and long-term support branches. Test kernel updates in a non-production environment before deployment, particularly if your infrastructure relies on AF_UNIX sockets for critical IPC. Reboot systems after applying the patch to activate the new kernel.

Detection guidance

Monitor system logs for unusual ioctl failures or denial of service events in applications using AF_UNIX sockets. On patched systems, attempts to call SIOCATMARK on non-stream sockets will fail with -EOPNOTSUPP; on unpatched systems, the calls may succeed inappropriately. Security teams can audit application code to identify which processes create SOCK_DGRAM or SOCK_SEQPACKET AF_UNIX sockets and whether they invoke SIOCATMARK—this is not standard practice and unusual usage patterns warrant investigation. Kernel audit rules (auditd) can be configured to log ioctl calls on specific sockets for forensic purposes.

Why prioritize this

This issue merits patching due to its potential for denial of service and the fact that it reflects a kernel consistency flaw that could mask or complicate other socket-related issues. Although exploitation requires local access, containerized and multi-tenant environments elevate the risk. The CVSS score of 5.5 (MEDIUM) reflects the local attack vector and availability impact, but the simplicity of the fix and the narrow scope of exploitation mean this is a routine but important security update.

Risk score, explained

CVSS 3.1 score of 5.5 (MEDIUM) reflects: Attack Vector Local (user must have system access), Attack Complexity Low (straightforward ioctl invocation), Privileges Required Low (unprivileged user), User Interaction None, Scope Unchanged, Confidentiality None, Integrity None, Availability High (denial of service possible). The score appropriately captures the limited exposure and local-only attack vector, while acknowledging the availability impact. This is not a critical or high-severity issue, but it is a meaningful security concern for multi-user and containerized systems.

Frequently asked questions

Can this vulnerability be exploited remotely?

No. Exploitation requires local system access—either a user account or a context within a container. There is no network-based attack vector for this issue.

What is SIOCATMARK and why does it matter?

SIOCATMARK is a socket ioctl that queries whether the receive queue has reached an urgent (out-of-band) marker. Out-of-band messaging is a feature of stream-oriented protocols like TCP. The Linux kernel restricts OOB to SOCK_STREAM AF_UNIX sockets and rejects it for datagrams and sequenced packets, so SIOCATMARK should behave the same way. The vulnerability is that SIOCATMARK was not enforcing this restriction, creating an inconsistency.

What applications are most affected?

Applications that use AF_UNIX sockets for inter-process communication on multi-user or multi-tenant systems are at greatest risk. This includes many standard Linux services, container runtimes, and privilege-separation frameworks. However, exploitation is not automatic; it requires either a misconfigured application or an attacker's ability to craft specific ioctl requests.

Is a reboot required to apply the patch?

Yes, kernel patches typically require a system reboot to take effect. Plan patching during a maintenance window and test in a non-production environment first to ensure compatibility with your workloads.

This analysis is provided for informational purposes and represents the state of knowledge as of the published date. CVE-2026-52928 details and patch availability may evolve; always consult official Linux distribution security advisories and vendor statements for the most current information. Verify patch version numbers, release dates, and affected kernel versions against your vendor's documentation before applying updates. SEC.co does not provide legal or compliance advice; security teams should assess business risk and prioritize patching according to their organization's vulnerability management policies and threat model. Source: NVD (public-domain), retrieved 2026-07-30. Analysis generated by SEC.co (claude-haiku-4-5).