Error Pointer Dereference in Linux Kernel by vendor XYZ
CVE-2025-40156
Currently unrated
What is CVE-2025-40156?
A potential security flaw exists in the Linux kernel where an error pointer could be dereferenced due to improper validation. The drv->sram_reg pointer may be incorrectly set to ERR_PTR(-EPROBE_DEFER), risking system stability and security vulnerabilities. The recommended solution involves checking pointer validity using IS_ERR_OR_NULL() to prevent exploitation and maintain system integrity.
Affected Version(s)
Linux e09bd5757b5227d6804b30c58d4587f7f87d1afa < 9cc23e221f392304b7b8aad213812564ddf6517e
Linux e09bd5757b5227d6804b30c58d4587f7f87d1afa < 80eab6a9df7e1107dc334434dbacd05297703377
Linux e09bd5757b5227d6804b30c58d4587f7f87d1afa < 44e32104cf7e670e3d683c97b52350d8fac23322