High [CVE-2026-16313] arbitrary command execution via udev property injection in sg_inq --export
This high-severity Red Hat Linux advisory covers CVE-2026-16313 affecting Red Hat Enterprise Linux 10.0 Extended Update Support, Red Hat Enterprise Linux 7 Extended Lifecycle Support, Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support.
Aggregated and source-linked by VulniPulse. Data sources, validation and limitations.
VulniPulse record published
Get an email when Red Hat Linux publishes the next one.
VulniPulse checks Red Hat Linux's security advisories around the clock and emails you new ones with the severity, the fixed version and the vendor's link. First month free, then US$15/month; we email you before the first charge.
Summary
A flaw was found in sg3_utils. The sg_inq command, when invoked with the --export option, outputs device identification data without sanitizing control characters in SCSI name string fields.
A newline character embedded in a device-supplied name string can inject arbitrary properties into the udev device database.
This could allow an attacker who can present a crafted SCSI device to execute arbitrary commands as root when the device is disconnected. sg3_utils versions 1.34 through 1.48 contain a command injection flaw in the export_dev_ids() function of sg_inq.
A crafted SCSI/USB device can embed a newline in this field, splitting sg_inq's udev KEY=VALUE output into two lines and injecting an arbitrary udev property, including REMOVE_CMD.
On systems whose default udev rules invoke sg_inq --export for SCSI device identification and act on REMOVE_CMD when a device is removed, this allows a local attacker with physical access to a USB/SCSI port to achieve arbitrary command execution as root simply by disconnecting the crafted device.
Exploitation requires physical access to attach the malicious device, consistent with Red Hat's Physical (AV:P) attack vector scoring. The upstream fix (udev-conforming character escaping for this field) has not yet been included in any tagged sg3_utils release; all Red Hat-shipped versions of sg3_utils in the 1.34-1.48 range are affected.
Affected versions
No affected-version range was extracted from the source record. The vendor advisory is authoritative. Check it before change work.
Official advisory · high-confidence parse· fetched 26 days ago·verify at source
- sg3_utils-0:1.48-7.el10_2.1
- sg3_utils-0:1.48-7.el10_0.2
- sg3_utils-1:1.37-20.el7_9
- sg3_utils-0:1.44-6.el8_10.1
- sg3_utils-0:1.44-5.el8_4.1
- sg3_utils-0:1.44-5.el8_6.1
- sg3_utils-0:1.44-6.el8_8.1
- sg3_utils-0:1.47-10.el9_8.1
- sg3_utils-0:1.47-9.el9_2.1
- sg3_utils-0:1.47-9.el9_4.1
- sg3_utils-0:1.47-10.el9_6.2
- rhcos-412.86.202609082051-0
- rhcos-416.94.202609140240-0
- rhcos-417.94.202609191027-0
- rhcos-418.94.202609031320-0
- rhcos-4.19.9.6.202609021231-0
- rhcos-4.20.9.6.202609021029-0
- rhcos-4.21.9.6.202609021100-0
- rhcos-4.22.9.8.202608130832-0
- RHSA-2026:50142
- RHSA-2026:69124
- RHSA-2026:67157
- RHSA-2026:56130
- RHSA-2026:59555
- RHSA-2026:59567
- RHSA-2026:59568
- RHSA-2026:50141
- RHSA-2026:61261
- RHSA-2026:61260
- RHSA-2026:59397
- RHSA-2026:65907
- RHSA-2026:67935
- RHSA-2026:70586
- RHSA-2026:65851
- RHSA-2026:63044
- RHSA-2026:63100
- RHSA-2026:63041
- RHSA-2026:54769
Official advisory · high-confidence parse· fetched 26 days ago·verify at source
Mitigation checklist
- Remove or comment out the REMOVE_CMD rule from 50-udev-default.rules to prevent command execution on device removal. Alternatively, if automatic SCSI device identification is not required, disable the udev rule that invokes sg_inq --export on device connection.
Official advisory · high-confidence parse· fetched 26 days ago·verify at source
More Red Hat Linux advisories
- CVE-2026-46300May 13, 2026"Fragnesia" is a variant of Dirty Frag vulnerability in the ESP/XFRM leading to Local
- CVE-2026-31431Apr 22, 2026algif_aead - Revert to operating out-of-place
- CVE-2026-34486Apr 9, 2026Missing Encryption of Sensitive Data due to EncryptInterceptor bypass
- CVE-2025-31277Mar 18, 2026Processing maliciously crafted web content may lead to memory corruption
- CVE-2026-53362Jul 4, 2026account for fraggap on the paged allocation path
- CVE-2026-111497Oct 22, 2026Out-of-Bounds Write in Google Brotli Decoder
Android app · Google Play
Monitor future Red Hat Linux CVEs from your phone.
Choose a whole vendor or a precise platform, then receive matching security advisories by phone notification, email, or both. Coverage follows 34 official vendor sources and 160+ reviewed platform categories.
Discussion(0)
No comments yet. Share field notes, upgrade gotchas, or questions — verify against the vendor advisory before acting on community advice.
Sign in to join the discussion.