vhost/vsock: always initialize seqpacket_allow (Linux Linux)

CVE-2024-43873
HIGH 7.8

At a glance

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

Description

In the Linux kernel, the following vulnerability has been resolved: vhost/vsock: always initialize seqpacket_allow There are two issues around seqpacket_allow: 1. seqpacket_allow is not initialized when socket is created. Thus if features are never set, it will be read uninitialized. 2. if VIRTIO_VSOCK_F_SEQPACKET is set and then cleared, then seqpacket_allow will not be cleared appropriately (existing apps I know about don't usually do this but it's legal and there's no way to be sure no one relies on this). To fix: - initialize seqpacket_allow after allocation - set it unconditionally in set_features

Weaknesses (CWE)

  • CWE-909 — Missing Initialization of Resource

References

Scores

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

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected ced7b713711fdd8f99d8d04dc53451441d194c60 < ea558f10fb05a6503c6e655a1b7d81fdf8e5924c ; affected ced7b713711fdd8f99d8d04dc53451441d194c60 < 3062cb100787a9ddf45de30004b962035cd497fb ; affected ced7b713711fdd8f99d8d04dc53451441d194c60 < 30bd4593669443ac58515e23557dc8cef70d8582 ; affected ced7b713711fdd8f99d8d04dc53451441d194c60 < eab96e8716cbfc2834b54f71cc9501ad4eec963b ; affected ced7b713711fdd8f99d8d04dc53451441d194c60 < 1e1fdcbdde3b7663e5d8faeb2245b9b151417d22
Linux · Linuxaffected 5.14 ; unaffected 0 < 5.14 ; unaffected 5.15.165 ≤ 5.15.* ; unaffected 6.1.103 ≤ 6.1.* ; unaffected 6.6.44 ≤ 6.6.* ; unaffected 6.10.3 ≤ 6.10.*

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