title: netfs, fscache: Prevent Oops in fscache_put_cache()
description: In the Linux kernel, the following vulnerability has been resolved:
netfs, fscache: Prevent Oops in fscache_put_cache()
This function dereferences "cache" and then checks if it's
IS_ERR_OR_NULL().  Check first, then dereference.
affected:
{
product: Linux
vendor: Linux
defaultStatus: unaffected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions:
version: 9549332df4ed, lessThan: 82a9bc343ba0, status: affected, versionType: git
version: 9549332df4ed, lessThan: 1c45256e5990, status: affected, versionType: git
version: 9549332df4ed, lessThan: 4200ad3e46ce, status: affected, versionType: git
version: 9549332df4ed, lessThan: 3be0b3ed1d76, status: affected, versionType: git
}
{
product: Linux
vendor: Linux
defaultStatus: affected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions:
version: 5.17, status: affected
version: 0, lessThan: 5.17, status: unaffected, versionType: custom
version: 6.1.76, lessThanOrEqual: 6.1.*, status: unaffected, versionType: custom
version: 6.6.15, lessThanOrEqual: 6.6.*, status: unaffected, versionType: custom
version: 6.7.3, lessThanOrEqual: 6.7.*, status: unaffected, versionType: custom
version: 6.8, lessThanOrEqual: *, status: unaffected, versionType: original_commit_for_fix
}
