CVE-2026-16313

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.

Affected Software

VendorProductVersion RangeStatus
Red HatRed Hat Enterprise Linux 100:1.48-7.el10_2.1 < *unaffected
Red HatRed Hat Enterprise Linux 80:1.44-6.el8_10.1 < *unaffected
Red HatRed Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support0:1.44-5.el8_4.1 < *unaffected
Red HatRed Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On0:1.44-5.el8_4.1 < *unaffected
Red HatRed Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support0:1.44-5.el8_6.1 < *unaffected
Red HatRed Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On0:1.44-5.el8_6.1 < *unaffected
Red HatRed Hat Enterprise Linux 8.8 Telecommunications Update Service0:1.44-6.el8_8.1 < *unaffected
Red HatRed Hat Enterprise Linux 8.8 Update Services for SAP Solutions0:1.44-6.el8_8.1 < *unaffected
Red HatRed Hat Enterprise Linux 90:1.47-10.el9_8.1 < *unaffected
Red HatRed Hat Enterprise Linux 9.2 Update Services for SAP Solutions0:1.47-9.el9_2.1 < *unaffected
Red HatRed Hat Enterprise Linux 9.4 Update Services for SAP Solutions0:1.47-9.el9_4.1 < *unaffected
Red HatRed Hat Enterprise Linux 9.6 Extended Update Support0:1.47-10.el9_6.2 < *unaffected
Red HatRed Hat OpenShift Container Platform 4.194.19.9.6.202609021231-0 < *unaffected
Red HatRed Hat OpenShift Container Platform 4.204.20.9.6.202609021029-0 < *unaffected
Red HatRed Hat OpenShift Container Platform 4.214.21.9.6.202609021100-0 < *unaffected
Red HatRed Hat OpenShift Container Platform 4.224.22.9.8.202608130832-0 < *unaffected

Weaknesses

  • CWE-93: Improper Neutralization of CRLF Sequences ('CRLF Injection')

Workarounds

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.

ADP Enrichment

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: none
    • Automatable: no
    • Technical Impact: total

References