Linux kernel: net: hso: fix null-ptr-deref during tty device unregistration
Overview
In the Linux kernel, the following vulnerability has been resolved: net: hso: fix null-ptr-deref during tty device unregistration Multiple ttys try to claim the same the minor number causing a double unregistration of the same device. The first unregistration succeeds but the next one results in a null-ptr-deref. The get_free_serial_index() function returns an available minor number but doesn't assign it immediately. The assignment is done by the caller later. But before this assignment, calls to get_free_serial_index() would return the same minor number. Fix this by modifying get_free_serial_index to assign the minor number immediately after one is found to be and rename it to obtain_minor() to better reflect what it does. Similary, rename set_serial_by_index() to release_minor() and modify it to free up the minor number of the given hso_serial. Every obtain_minor() should have corresponding release_minor() call.
- Published
- 2/26/2024
- Last modified
- 6/17/2026
- CVE assigner
- Not available
- NVD analysis
- Not available
Exploitation
No CISA KEV flag in the saved record
An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.
EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare
Affected products
Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.
| Vendor / product | Affected versions | Platform / conditions | Evidence |
|---|---|---|---|
linux kernel linux | ≥ 2.6.27, < 4.4.268 | Verify advisory | Source |
linux kernel linux | ≥ 4.5.0, < 4.9.268 | Verify advisory | Source |
linux kernel linux | ≥ 4.10.0, < 4.14.232 | Verify advisory | Source |
linux kernel linux | ≥ 4.15.0, < 4.19.187 | Verify advisory | Source |
linux kernel linux | ≥ 4.20.0, < 5.4.112 | Verify advisory | Source |
linux kernel linux | ≥ 5.5.0, < 5.10.30 | Verify advisory | Source |
linux kernel linux | ≥ 5.11.0, < 5.11.14 | Verify advisory | Source |
Linux Linux | ≥ 72dc1c096c7051a48ab1dbb12f71976656b55eb5, < a462067d7c8e6953a733bf5ade8db947b1bb5449 | Verify advisory | Source |
Linux Linux | ≥ 72dc1c096c7051a48ab1dbb12f71976656b55eb5, < 145c89c441d27696961752bf51b323f347601bee | Verify advisory | Source |
Linux Linux | ≥ 72dc1c096c7051a48ab1dbb12f71976656b55eb5, < caf5ac93b3b5d5fac032fc11fbea680e115421b4 | Verify advisory | Source |
Linux Linux | ≥ 72dc1c096c7051a48ab1dbb12f71976656b55eb5, < 92028d7a31e55d53e41cff679156b9432cffcb36 | Verify advisory | Source |
Linux Linux | ≥ 72dc1c096c7051a48ab1dbb12f71976656b55eb5, < 4a2933c88399c0ebc738db39bbce3ae89786d723 | Verify advisory | Source |
Linux Linux | ≥ 72dc1c096c7051a48ab1dbb12f71976656b55eb5, < dc195928d7e4ec7b5cfc6cd10dc4c8d87a7c72ac | Verify advisory | Source |
Linux Linux | ≥ 72dc1c096c7051a48ab1dbb12f71976656b55eb5, < 388d05f70f1ee0cac4a2068fd295072f1a44152a | Verify advisory | Source |
Linux Linux | ≥ 72dc1c096c7051a48ab1dbb12f71976656b55eb5, < 8a12f8836145ffe37e9c8733dce18c22fb668b66 | Verify advisory | Source |
Linux Linux | 2.6.27 | Verify advisory | Source |
Recommended actions
Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.
Vendor advisory links
Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.
Severity
CVSS describes technical impact. It is separate from exploitation evidence.
Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.
Sources & references
Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.