Red Hat Enterprise Linux 10
Sg3_utils: sg3_utils: arbitrary command execution via udev property injection in sg_inq --export
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
Fixed in 0:1.48-7.el10_2.1
Fixed in 0:1.48-7.el10_0.2
Fixed in 1:1.37-20.el7_9
Fixed in 0:1.44-6.el8_10.1
Fixed in 0:1.44-5.el8_4.1
Fixed in 0:1.44-5.el8_4.1
Fixed in 0:1.44-5.el8_6.1
Fixed in 0:1.44-5.el8_6.1
Fixed in 0:1.44-6.el8_8.1
Fixed in 0:1.44-6.el8_8.1
Fixed in 0:1.47-10.el9_8.1
Fixed in 0:1.47-9.el9_2.1
Fixed in 0:1.47-9.el9_4.1
Fixed in 0:1.47-10.el9_6.2
Fixed in 412.86.202609082051-0
Fixed in 413.92.202611041925-0
Fixed in 414.92.202611040941-0
Fixed in 415.92.202611051005-0
Fixed in 416.94.202609140240-0
Fixed in 417.94.202609191027-0
Fixed in 418.94.202609031320-0
Fixed in 4.19.9.6.202609021231-0
Fixed in 4.20.9.6.202609021029-0
Fixed in 4.21.9.6.202609021100-0
Fixed in 4.22.9.8.202608130832-0
Mitigation
Upgrade Red Hat Enterprise Linux 10 to 0:1.48-7.el10_2.1 or later.
Upgrade Red Hat Enterprise Linux 10.0 Extended Update Support to 0:1.48-7.el10_0.2 or later.
Upgrade Red Hat Enterprise Linux 7 Extended Lifecycle Support to 1:1.37-20.el7_9 or later.
Upgrade Red Hat Enterprise Linux 8 to 0:1.44-6.el8_10.1 or later.
Upgrade Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support to 0:1.44-5.el8_4.1 or later.
Upgrade Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On to 0:1.44-5.el8_4.1 or later.
Upgrade Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support to 0:1.44-5.el8_6.1 or later.
Upgrade Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On to 0:1.44-5.el8_6.1 or later.
Upgrade Red Hat Enterprise Linux 8.8 Telecommunications Update Service to 0:1.44-6.el8_8.1 or later.
Upgrade Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions to 0:1.44-6.el8_8.1 or later.
Upgrade Red Hat Enterprise Linux 9 to 0:1.47-10.el9_8.1 or later.
Upgrade Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions to 0:1.47-9.el9_2.1 or later.
Upgrade Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions to 0:1.47-9.el9_4.1 or later.
Upgrade Red Hat Enterprise Linux 9.6 Extended Update Support to 0:1.47-10.el9_6.2 or later.
Upgrade Red Hat OpenShift Container Platform 4.12 to 412.86.202609082051-0 or later.
Upgrade Red Hat OpenShift Container Platform 4.13 to 413.92.202611041925-0 or later.
Upgrade Red Hat OpenShift Container Platform 4.14 to 414.92.202611040941-0 or later.
Upgrade Red Hat OpenShift Container Platform 4.15 to 415.92.202611051005-0 or later.
Upgrade Red Hat OpenShift Container Platform 4.16 to 416.94.202609140240-0 or later.
Upgrade Red Hat OpenShift Container Platform 4.17 to 417.94.202609191027-0 or later.
Upgrade Red Hat OpenShift Container Platform 4.18 to 418.94.202609031320-0 or later.
Upgrade Red Hat OpenShift Container Platform 4.19 to 4.19.9.6.202609021231-0 or later.
Upgrade Red Hat OpenShift Container Platform 4.20 to 4.20.9.6.202609021029-0 or later.
Upgrade Red Hat OpenShift Container Platform 4.21 to 4.21.9.6.202609021100-0 or later.
Upgrade Red Hat OpenShift Container Platform 4.22 to 4.22.9.8.202608130832-0 or later.
Workaround
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.
References
- Vendor advisory access.redhat.com/errata/RHSA-2026:50141
- Vendor advisory access.redhat.com/errata/RHSA-2026:50142
- Vendor advisory access.redhat.com/errata/RHSA-2026:54769
5 more
- Vendor advisory access.redhat.com/errata/RHSA-2026:56130
- Vendor advisory access.redhat.com/errata/RHSA-2026:59397
- Vendor advisory access.redhat.com/errata/RHSA-2026:59555
- Vendor advisory access.redhat.com/errata/RHSA-2026:59567
- Vendor advisory access.redhat.com/errata/RHSA-2026:59568
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.