In the Linux kernel, the following vulnerability has been resolved:
ocfs2: fix possible null-ptr-deref in ocfs2setbuffer_uptodate
When doing cleanup, if flags without OCFS2BHREADAHEAD, it may trigger NULL pointer dereference in the following ocfs2setbuffer_uptodate() if bh is NULL.
[
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "fs/ocfs2/buffer_head_io.c",
"function": "ocfs2_read_blocks"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e68c8323355e8cedfbe0bec7d5a39009f61640b6",
"digest": {
"length": 2699.0,
"function_hash": "176493222129565322935407968608392503902"
},
"id": "CVE-2024-49877-01ae9983"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "fs/ocfs2/buffer_head_io.c",
"function": "ocfs2_read_blocks"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@190d98bcd61117a78fe185222d162180f061a6ca",
"digest": {
"length": 2699.0,
"function_hash": "176493222129565322935407968608392503902"
},
"id": "CVE-2024-49877-074f1268"
},
{
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "fs/ocfs2/buffer_head_io.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@61b84013e560382cbe7dd56758be3154d43a3988",
"digest": {
"line_hashes": [
"194241523099475368232323950774967983789",
"97970000760204624016189399927704955095",
"338532924393434383628618823574559348052",
"35591091542054391811706124778578485118"
],
"threshold": 0.9
},
"id": "CVE-2024-49877-0e561aac"
},
{
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "fs/ocfs2/buffer_head_io.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@190d98bcd61117a78fe185222d162180f061a6ca",
"digest": {
"line_hashes": [
"194241523099475368232323950774967983789",
"97970000760204624016189399927704955095",
"338532924393434383628618823574559348052",
"35591091542054391811706124778578485118"
],
"threshold": 0.9
},
"id": "CVE-2024-49877-41de0b55"
},
{
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "fs/ocfs2/buffer_head_io.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e68c8323355e8cedfbe0bec7d5a39009f61640b6",
"digest": {
"line_hashes": [
"194241523099475368232323950774967983789",
"97970000760204624016189399927704955095",
"338532924393434383628618823574559348052",
"35591091542054391811706124778578485118"
],
"threshold": 0.9
},
"id": "CVE-2024-49877-430c2bc3"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "fs/ocfs2/buffer_head_io.c",
"function": "ocfs2_read_blocks"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@61b84013e560382cbe7dd56758be3154d43a3988",
"digest": {
"length": 2699.0,
"function_hash": "176493222129565322935407968608392503902"
},
"id": "CVE-2024-49877-551c2d84"
},
{
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "fs/ocfs2/buffer_head_io.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@01cb2e751cc61ade454c9bc1aaa2eac1f8197112",
"digest": {
"line_hashes": [
"194241523099475368232323950774967983789",
"97970000760204624016189399927704955095",
"338532924393434383628618823574559348052",
"35591091542054391811706124778578485118"
],
"threshold": 0.9
},
"id": "CVE-2024-49877-5b109b0d"
},
{
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "fs/ocfs2/buffer_head_io.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d52c5652e7dcb7a0648bbb8642cc3e617070ab49",
"digest": {
"line_hashes": [
"194241523099475368232323950774967983789",
"97970000760204624016189399927704955095",
"338532924393434383628618823574559348052",
"35591091542054391811706124778578485118"
],
"threshold": 0.9
},
"id": "CVE-2024-49877-675a18c7"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "fs/ocfs2/buffer_head_io.c",
"function": "ocfs2_read_blocks"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d52c5652e7dcb7a0648bbb8642cc3e617070ab49",
"digest": {
"length": 2695.0,
"function_hash": "322938239478327810367154135568469522850"
},
"id": "CVE-2024-49877-7600934c"
},
{
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "fs/ocfs2/buffer_head_io.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@46b1edf0536a5291a8ad2337f88c926214b209d9",
"digest": {
"line_hashes": [
"194241523099475368232323950774967983789",
"97970000760204624016189399927704955095",
"338532924393434383628618823574559348052",
"35591091542054391811706124778578485118"
],
"threshold": 0.9
},
"id": "CVE-2024-49877-9cc0d993"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "fs/ocfs2/buffer_head_io.c",
"function": "ocfs2_read_blocks"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@46b1edf0536a5291a8ad2337f88c926214b209d9",
"digest": {
"length": 2695.0,
"function_hash": "322938239478327810367154135568469522850"
},
"id": "CVE-2024-49877-b4c02879"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "fs/ocfs2/buffer_head_io.c",
"function": "ocfs2_read_blocks"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@df944dc46d06af65a75191183d52be017e6b9dbe",
"digest": {
"length": 2699.0,
"function_hash": "176493222129565322935407968608392503902"
},
"id": "CVE-2024-49877-bca7237e"
},
{
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "fs/ocfs2/buffer_head_io.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@df944dc46d06af65a75191183d52be017e6b9dbe",
"digest": {
"line_hashes": [
"194241523099475368232323950774967983789",
"97970000760204624016189399927704955095",
"338532924393434383628618823574559348052",
"35591091542054391811706124778578485118"
],
"threshold": 0.9
},
"id": "CVE-2024-49877-be7c094b"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "fs/ocfs2/buffer_head_io.c",
"function": "ocfs2_read_blocks"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@01cb2e751cc61ade454c9bc1aaa2eac1f8197112",
"digest": {
"length": 2695.0,
"function_hash": "322938239478327810367154135568469522850"
},
"id": "CVE-2024-49877-bf8efb1c"
},
{
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "fs/ocfs2/buffer_head_io.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@33b525cef4cff49e216e4133cc48452e11c0391e",
"digest": {
"line_hashes": [
"194241523099475368232323950774967983789",
"97970000760204624016189399927704955095",
"338532924393434383628618823574559348052",
"35591091542054391811706124778578485118"
],
"threshold": 0.9
},
"id": "CVE-2024-49877-c59591a3"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "fs/ocfs2/buffer_head_io.c",
"function": "ocfs2_read_blocks"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@33b525cef4cff49e216e4133cc48452e11c0391e",
"digest": {
"length": 2695.0,
"function_hash": "322938239478327810367154135568469522850"
},
"id": "CVE-2024-49877-fefbd3c9"
}
]