In the Linux kernel, the following vulnerability has been...
Moderate severity
Unreviewed
Published
Jan 11, 2025
to the GitHub Advisory Database
•
Updated Jan 31, 2025
Description
Published by the National Vulnerability Database
Jan 11, 2025
Published to the GitHub Advisory Database
Jan 11, 2025
Last updated
Jan 31, 2025
In the Linux kernel, the following vulnerability has been resolved:
bcache: revert replacing IS_ERR_OR_NULL with IS_ERR again
Commit 028ddcac477b ("bcache: Remove unnecessary NULL point check in
node allocations") leads a NULL pointer deference in cache_set_flush().
1721 if (!IS_ERR_OR_NULL(c->root))
1722 list_add(&c->root->list, &c->btree_cache);
This patch replaces IS_ERR() by IS_ERR_OR_NULL() to fix this.
References