In the Linux kernel, the following vulnerability has been resolved:
ocfs2: remove unreasonable unlock in ocfs2readblocks
Patch series "Misc fixes for ocfs2readblocks", v5.
This series contains 2 fixes for ocfs2readblocks(). The first patch fix the issue reported by syzbot, which detects bad unlock balance in ocfs2readblocks(). The second patch fixes an issue reported by Heming Zhao when reviewing above fix.
This patch (of 2):
There was a lock release before exiting, so remove the unreasonable unlock.
[
{
"signature_type": "Line",
"deprecated": false,
"digest": {
"line_hashes": [
"319798864033757287826709536221527977446",
"24173599784502784158864123278008966339",
"246636393794071970836540819136621516079",
"69139045195481111748839028641366360174"
],
"threshold": 0.9
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@df4f20fc3673cee11abf2c571987a95733cb638d",
"target": {
"file": "fs/ocfs2/buffer_head_io.c"
},
"id": "CVE-2024-49965-04b2f36d"
},
{
"signature_type": "Function",
"deprecated": false,
"digest": {
"length": 2720.0,
"function_hash": "94629319283054521997823478924419716301"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9753bcb17b36c9add9b32c61766ddf8d2d161911",
"target": {
"file": "fs/ocfs2/buffer_head_io.c",
"function": "ocfs2_read_blocks"
},
"id": "CVE-2024-49965-134bff8e"
},
{
"signature_type": "Function",
"deprecated": false,
"digest": {
"length": 2716.0,
"function_hash": "227814553778864838066909005294659012431"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@81aba693b129e82e11bb54f569504d943d018de9",
"target": {
"file": "fs/ocfs2/buffer_head_io.c",
"function": "ocfs2_read_blocks"
},
"id": "CVE-2024-49965-3566a118"
},
{
"signature_type": "Line",
"deprecated": false,
"digest": {
"line_hashes": [
"319798864033757287826709536221527977446",
"24173599784502784158864123278008966339",
"246636393794071970836540819136621516079",
"69139045195481111748839028641366360174"
],
"threshold": 0.9
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@81aba693b129e82e11bb54f569504d943d018de9",
"target": {
"file": "fs/ocfs2/buffer_head_io.c"
},
"id": "CVE-2024-49965-4a16682f"
},
{
"signature_type": "Line",
"deprecated": false,
"digest": {
"line_hashes": [
"319798864033757287826709536221527977446",
"24173599784502784158864123278008966339",
"246636393794071970836540819136621516079",
"69139045195481111748839028641366360174"
],
"threshold": 0.9
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9753bcb17b36c9add9b32c61766ddf8d2d161911",
"target": {
"file": "fs/ocfs2/buffer_head_io.c"
},
"id": "CVE-2024-49965-572af9a6"
},
{
"signature_type": "Function",
"deprecated": false,
"digest": {
"length": 2716.0,
"function_hash": "227814553778864838066909005294659012431"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@df4f20fc3673cee11abf2c571987a95733cb638d",
"target": {
"file": "fs/ocfs2/buffer_head_io.c",
"function": "ocfs2_read_blocks"
},
"id": "CVE-2024-49965-786b2dc9"
},
{
"signature_type": "Function",
"deprecated": false,
"digest": {
"length": 2720.0,
"function_hash": "94629319283054521997823478924419716301"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f55a33fe0fb5274ef185fd61947cf142138958af",
"target": {
"file": "fs/ocfs2/buffer_head_io.c",
"function": "ocfs2_read_blocks"
},
"id": "CVE-2024-49965-87ebc524"
},
{
"signature_type": "Function",
"deprecated": false,
"digest": {
"length": 2716.0,
"function_hash": "227814553778864838066909005294659012431"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@84543da867c967edffd5065fa910ebf56aaae49d",
"target": {
"file": "fs/ocfs2/buffer_head_io.c",
"function": "ocfs2_read_blocks"
},
"id": "CVE-2024-49965-92e3df69"
},
{
"signature_type": "Line",
"deprecated": false,
"digest": {
"line_hashes": [
"319798864033757287826709536221527977446",
"24173599784502784158864123278008966339",
"246636393794071970836540819136621516079",
"69139045195481111748839028641366360174"
],
"threshold": 0.9
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5245f109b4afb6595360d4c180d483a6d2009a59",
"target": {
"file": "fs/ocfs2/buffer_head_io.c"
},
"id": "CVE-2024-49965-981d0c48"
},
{
"signature_type": "Function",
"deprecated": false,
"digest": {
"length": 2716.0,
"function_hash": "227814553778864838066909005294659012431"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c03a82b4a0c935774afa01fd6d128b444fd930a1",
"target": {
"file": "fs/ocfs2/buffer_head_io.c",
"function": "ocfs2_read_blocks"
},
"id": "CVE-2024-49965-bf856be1"
},
{
"signature_type": "Function",
"deprecated": false,
"digest": {
"length": 2720.0,
"function_hash": "94629319283054521997823478924419716301"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5245f109b4afb6595360d4c180d483a6d2009a59",
"target": {
"file": "fs/ocfs2/buffer_head_io.c",
"function": "ocfs2_read_blocks"
},
"id": "CVE-2024-49965-dfeddcf7"
},
{
"signature_type": "Line",
"deprecated": false,
"digest": {
"line_hashes": [
"319798864033757287826709536221527977446",
"24173599784502784158864123278008966339",
"246636393794071970836540819136621516079",
"69139045195481111748839028641366360174"
],
"threshold": 0.9
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@84543da867c967edffd5065fa910ebf56aaae49d",
"target": {
"file": "fs/ocfs2/buffer_head_io.c"
},
"id": "CVE-2024-49965-e3bf6d97"
},
{
"signature_type": "Line",
"deprecated": false,
"digest": {
"line_hashes": [
"319798864033757287826709536221527977446",
"24173599784502784158864123278008966339",
"246636393794071970836540819136621516079",
"69139045195481111748839028641366360174"
],
"threshold": 0.9
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c03a82b4a0c935774afa01fd6d128b444fd930a1",
"target": {
"file": "fs/ocfs2/buffer_head_io.c"
},
"id": "CVE-2024-49965-fb226696"
},
{
"signature_type": "Line",
"deprecated": false,
"digest": {
"line_hashes": [
"319798864033757287826709536221527977446",
"24173599784502784158864123278008966339",
"246636393794071970836540819136621516079",
"69139045195481111748839028641366360174"
],
"threshold": 0.9
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f55a33fe0fb5274ef185fd61947cf142138958af",
"target": {
"file": "fs/ocfs2/buffer_head_io.c"
},
"id": "CVE-2024-49965-fb34b069"
}
]