Bug 2320558 (CVE-2024-49936) - CVE-2024-49936 kernel: net/xen-netback: prevent UAF in xenvif_flush_hash()
Summary: CVE-2024-49936 kernel: net/xen-netback: prevent UAF in xenvif_flush_hash()
Keywords:
Status: NEW
Alias: CVE-2024-49936
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2321032
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-10-21 19:10 UTC by OSIDB Bzimport
Modified: 2024-10-22 19:21 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-10-21 19:10:42 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.