Skip to content

at24: fix memory corruption race condition

Mark Salter requested to merge msalter/centos-stream-9:cve.2024.35848 into main

JIRA: https://issues.redhat.com/browse/RHEL-37020
CVE: CVE-2024-35848

If the eeprom is not accessible, an nvmem device will be registered, the
read will fail, and the device will be torn down. If another driver
accesses the nvmem device after the teardown, it will reference
invalid memory.

Signed-off-by: Mark Salter msalter@redhat.com

Merge request reports