In the Linux kernel before 5.16.3, drivers/scsi/ufs/ufs-mediatek.c misinterprets the regulator_get return value (expects it to be NULL in the error case, whereas it is actually an error pointer).
The product dereferences a pointer that it expects to be valid but is NULL.
Link | Tags |
---|---|
https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.16.3 | mailing list release notes patch |
https://github.com/torvalds/linux/commit/3ba880a12df5aa4488c18281701b5b1bc3d4531a | patch |