Bug 2256592 (CVE-2022-36648) - CVE-2022-36648 QEMU: rocker: NULL pointer dereference in of_dpa_cmd_add_l2_flood()
Summary: CVE-2022-36648 QEMU: rocker: NULL pointer dereference in of_dpa_cmd_add_l2_fl...
Keywords:
Status: NEW
Alias: CVE-2022-36648
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 2090786
TreeView+ depends on / blocked
 
Reported: 2024-01-03 10:50 UTC by Mauro Matteo Cascella
Modified: 2024-01-03 11:21 UTC (History)
10 users (show)

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


Attachments (Terms of Use)

Description Mauro Matteo Cascella 2024-01-03 10:50:08 UTC
A NULL pointer dereference bug was found in the rocker device (emulated ethernet switch) of QEMU. rocker_tlv_parse_nested could return early because of no group ids in the group_tlvs. In such case tlvs is NULL; tlvs[i + 1] in the next for-loop will deref the NULL pointer.

References:
https://lists.nongnu.org/archive/html/qemu-devel/2023-08/msg04621.html
https://gitlab.com/qemu-project/qemu/-/issues/1851


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