net/xen-netback: prevent UAF in xenvif_flush_hash() (Linux Linux)

CVE-2024-49936
HIGH 8.8

At a glance

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

Description

In the Linux kernel, the following vulnerability has been resolved: net/xen-netback: prevent UAF in xenvif_flush_hash() During the list_for_each_entry_rcu iteration call of xenvif_flush_hash, kfree_rcu does not exist inside the rcu read critical section, so if kfree_rcu is called when the rcu grace period ends during the iteration, UAF occurs when accessing head->next after the entry becomes free. Therefore, to solve this, you need to change it to list_for_each_entry_safe.

Weaknesses (CWE)

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 8.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:HLinux
CVSS 3.1HIGH 8.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
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 40d8abdee806d496a60ee607a6d01b1cd7fabaf0 < 3c4423b0c4b98213b3438e15061e1d08220e6982 ; affected 40d8abdee806d496a60ee607a6d01b1cd7fabaf0 < a7f0073fcd12ed7de185ef2c0af9d0fa1ddef22c ; affected 40d8abdee806d496a60ee607a6d01b1cd7fabaf0 < a0465723b8581cad27164c9073fd780904cd22d4 ; affected 40d8abdee806d496a60ee607a6d01b1cd7fabaf0 < efcff6ce7467f01f0753609f420333f3f2ceceda ; affected 40d8abdee806d496a60ee607a6d01b1cd7fabaf0 < 143edf098b80669d05245b2f2367dd156a83a2c5 ; affected 40d8abdee806d496a60ee607a6d01b1cd7fabaf0 < d408889d4b54f5501e4becc4dbbb9065143fbf4e
Linux · Linuxaffected 4.7 ; unaffected 0 < 4.7 ; unaffected 5.4.290 ≤ 5.4.* ; unaffected 5.10.227 ≤ 5.10.* ; unaffected 5.15.168 ≤ 5.15.* ; unaffected 6.1.113 ≤ 6.1.*

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