net: hso: fix NULL-deref on disconnect regression (Linux Linux)

CVE-2021-46905
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.26 % · percentile 18 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: net: hso: fix NULL-deref on disconnect regression Commit 8a12f8836145 ("net: hso: fix null-ptr-deref during tty device unregistration") fixed the racy minor allocation reported by syzbot, but introduced an unconditional NULL-pointer dereference on every disconnect instead. Specifically, the serial device table must no longer be accessed after the minor has been released by hso_serial_tty_unregister().

Weaknesses (CWE)

  • CWE-476 — NULL Pointer Dereference

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected a462067d7c8e6953a733bf5ade8db947b1bb5449 < 5871761c5f0f20d6e98bf3b6bd7486d857589554 ; affected 145c89c441d27696961752bf51b323f347601bee < 0c71d4c89559f72cec2592d078681a843bce570e ; affected caf5ac93b3b5d5fac032fc11fbea680e115421b4 < 24b699bea7553fc0b98dad9d864befb6005ac7f1 ; affected 92028d7a31e55d53e41cff679156b9432cffcb36 < 5c17cfe155d21954b4c7e2a78fa771cebcd86725 ; affected 4a2933c88399c0ebc738db39bbce3ae89786d723 < d7fad2ce15bdbbd0fec3ebe999fd7cab2267f53e ; affected dc195928d7e4ec7b5cfc6cd10dc4c8d87a7c72ac < 90642ee9eb581a13569b1c0bd57e85d962215273
Linux · Linuxaffected 5.12 ; unaffected 0 < 5.12 ; unaffected 4.19.189 ≤ 4.19.* ; unaffected 5.4.115 ≤ 5.4.* ; unaffected 5.10.33 ≤ 5.10.* ; unaffected 5.11.17 ≤ 5.11.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD