dmaengine: idxd: Fix leaking event log memory
3Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackepss 0.1%
exploitation probability
0.1%top 98% of all CVEs
observed exploitation
nono source reports it
In the Linux kernel, the following vulnerability has been resolved:
dmaengine: idxd: Fix leaking event log memory
During the device remove process, the device is reset, causing the
configuration registers to go back to their default state, which is
zero. As the driver is checking if the event log support was enabled
before deallocating, it will fail if a reset happened before.
Do not check if the support was enabled, the check for 'idxd->evl'
being valid (only allocated if the HW capability is available) is
enough.
Affected products
Linux · LinuxReferences
https://git.kernel.org/stable/c/695b491dc3f20365fd5821f22e25dbe3c1c20cbchttps://git.kernel.org/stable/c/9dfa00967e6ef43a9dd0887fe5c3a721a39da92ehttps://git.kernel.org/stable/c/d94f9b0ba28a205caf95902ee88b42bdb8af83d0https://git.kernel.org/stable/c/ee66bc29578391c9b48523dc9119af67bd5c7c0fhttps://git.kernel.org/stable/c/facd0012708e942fc12890708738aebde497564e