CVE-2019-19241

kernel: privilege escalation via io_uring offload of sendmsg() onto kernel thread with kernel creds

Published Dec 17, 2019 CVSS 3.1 · 7.8 High EPSS 1.1% KEV · Not listed
Description
In the Linux kernel before 5.4.2, the io_uring feature leads to requests that inadvertently have UID 0 and full capabilities, aka CID-181e448d8709. This is related to fs/io-wq.c, fs/io_uring.c, and net/socket.c. For example, an attacker can bypass intended restrictions on adding an IPv4 address to the loopback interface. This occurs because IORING_OP_SENDMSG operations, although requested in the context of an unprivileged user, are sometimes performed by a kernel worker thread without considering that context.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2019-8867 In the Linux kernel before 5.4.2, the io_uring feature leads to requests that inadvertently have UID 0 and full capabilities, aka CID-181e448d8709. This is related to fs/io-wq.c, fs/io_uring.c, and net/socket.c. For example, an attacker can bypass intended restrictions on adding an IPv4 address to the loopback interface. This occurs because IORING_OP_SENDMSG operations, although requested in the context of an unprivileged user, are sometimes performed by a kernel worker thread without considering that context.
Ubuntu USN Ubuntu USN USN-4284-1 Linux kernel vulnerabilities
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 5, 2024, 2:09 AM
Reserved
Nov 25, 2019, 12:00 AM
Status
Modified
Published
Dec 17, 2019, 8:15 PM
Modified
Jun 17, 2026, 2:26 AM
Severity
Moderate
Public date
Nov 25, 2019, 12:00 AM