In the Linux kernel, the following vulnerability has been resolved:
orangefs: fix a oob in orangefsdebugwrite
I got a syzbot report: slab-out-of-bounds Read in orangefsdebugwrite... several people suggested fixes, I tested Al Viro's suggestion and made this patch.
[
{
"signature_type": "Line",
"id": "CVE-2025-21782-3598435d",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f7c848431632598ff9bce57a659db6af60d75b39",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "fs/orangefs/orangefs-debugfs.c"
},
"digest": {
"line_hashes": [
"175532528256370565556150944574958122015",
"324408163760899217229219543006814296998",
"99850889106383764724483902883527814738",
"133217126374535130610449761485155015878",
"81675134762787880661263377204301543400",
"18839310374260871508952294202091689122"
],
"threshold": 0.9
}
},
{
"signature_type": "Function",
"id": "CVE-2025-21782-3e651384",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8725882b0f691f8113b230aea9df0256030a63a6",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "orangefs_debug_write",
"file": "fs/orangefs/orangefs-debugfs.c"
},
"digest": {
"function_hash": "232873019632536659530023380052831003721",
"length": 2221.0
}
},
{
"signature_type": "Function",
"id": "CVE-2025-21782-4335f685",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2b84a231910cef2e0a16d29294afabfb69112087",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "orangefs_debug_write",
"file": "fs/orangefs/orangefs-debugfs.c"
},
"digest": {
"function_hash": "232873019632536659530023380052831003721",
"length": 2221.0
}
},
{
"signature_type": "Line",
"id": "CVE-2025-21782-4c66185c",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@09d472a18c0ee1d5b83612cb919e33a1610fea16",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "fs/orangefs/orangefs-debugfs.c"
},
"digest": {
"line_hashes": [
"175532528256370565556150944574958122015",
"324408163760899217229219543006814296998",
"99850889106383764724483902883527814738",
"133217126374535130610449761485155015878",
"81675134762787880661263377204301543400",
"18839310374260871508952294202091689122"
],
"threshold": 0.9
}
},
{
"signature_type": "Function",
"id": "CVE-2025-21782-60992d19",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@18b7f841109f697840fe8633cf7ed7d32bd3f91b",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "orangefs_debug_write",
"file": "fs/orangefs/orangefs-debugfs.c"
},
"digest": {
"function_hash": "232873019632536659530023380052831003721",
"length": 2221.0
}
},
{
"signature_type": "Function",
"id": "CVE-2025-21782-6d948e75",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@897f496b946fdcfab5983c983e4b513ab6682364",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "orangefs_debug_write",
"file": "fs/orangefs/orangefs-debugfs.c"
},
"digest": {
"function_hash": "232873019632536659530023380052831003721",
"length": 2221.0
}
},
{
"signature_type": "Line",
"id": "CVE-2025-21782-7926c606",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2b84a231910cef2e0a16d29294afabfb69112087",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "fs/orangefs/orangefs-debugfs.c"
},
"digest": {
"line_hashes": [
"175532528256370565556150944574958122015",
"324408163760899217229219543006814296998",
"99850889106383764724483902883527814738",
"133217126374535130610449761485155015878",
"81675134762787880661263377204301543400",
"18839310374260871508952294202091689122"
],
"threshold": 0.9
}
},
{
"signature_type": "Function",
"id": "CVE-2025-21782-8588bd17",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f7c848431632598ff9bce57a659db6af60d75b39",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "orangefs_debug_write",
"file": "fs/orangefs/orangefs-debugfs.c"
},
"digest": {
"function_hash": "232873019632536659530023380052831003721",
"length": 2221.0
}
},
{
"signature_type": "Function",
"id": "CVE-2025-21782-88f26d9b",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1da2697307dad281dd690a19441b5ca4af92d786",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "orangefs_debug_write",
"file": "fs/orangefs/orangefs-debugfs.c"
},
"digest": {
"function_hash": "232873019632536659530023380052831003721",
"length": 2221.0
}
},
{
"signature_type": "Line",
"id": "CVE-2025-21782-8a8fafc6",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8725882b0f691f8113b230aea9df0256030a63a6",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "fs/orangefs/orangefs-debugfs.c"
},
"digest": {
"line_hashes": [
"175532528256370565556150944574958122015",
"324408163760899217229219543006814296998",
"99850889106383764724483902883527814738",
"133217126374535130610449761485155015878",
"81675134762787880661263377204301543400",
"18839310374260871508952294202091689122"
],
"threshold": 0.9
}
},
{
"signature_type": "Function",
"id": "CVE-2025-21782-8ae81be3",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@09d472a18c0ee1d5b83612cb919e33a1610fea16",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "orangefs_debug_write",
"file": "fs/orangefs/orangefs-debugfs.c"
},
"digest": {
"function_hash": "232873019632536659530023380052831003721",
"length": 2221.0
}
},
{
"signature_type": "Line",
"id": "CVE-2025-21782-92cb4c9c",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@18b7f841109f697840fe8633cf7ed7d32bd3f91b",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "fs/orangefs/orangefs-debugfs.c"
},
"digest": {
"line_hashes": [
"175532528256370565556150944574958122015",
"324408163760899217229219543006814296998",
"99850889106383764724483902883527814738",
"133217126374535130610449761485155015878",
"81675134762787880661263377204301543400",
"18839310374260871508952294202091689122"
],
"threshold": 0.9
}
},
{
"signature_type": "Function",
"id": "CVE-2025-21782-a9972869",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1c5244299241cf49d8ae7b5054e299cc8faa4e09",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "orangefs_debug_write",
"file": "fs/orangefs/orangefs-debugfs.c"
},
"digest": {
"function_hash": "232873019632536659530023380052831003721",
"length": 2221.0
}
},
{
"signature_type": "Line",
"id": "CVE-2025-21782-b626b760",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1c5244299241cf49d8ae7b5054e299cc8faa4e09",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "fs/orangefs/orangefs-debugfs.c"
},
"digest": {
"line_hashes": [
"175532528256370565556150944574958122015",
"324408163760899217229219543006814296998",
"99850889106383764724483902883527814738",
"133217126374535130610449761485155015878",
"81675134762787880661263377204301543400",
"18839310374260871508952294202091689122"
],
"threshold": 0.9
}
},
{
"signature_type": "Line",
"id": "CVE-2025-21782-c710fceb",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1da2697307dad281dd690a19441b5ca4af92d786",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "fs/orangefs/orangefs-debugfs.c"
},
"digest": {
"line_hashes": [
"175532528256370565556150944574958122015",
"324408163760899217229219543006814296998",
"99850889106383764724483902883527814738",
"133217126374535130610449761485155015878",
"81675134762787880661263377204301543400",
"18839310374260871508952294202091689122"
],
"threshold": 0.9
}
},
{
"signature_type": "Line",
"id": "CVE-2025-21782-f03d3a41",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@897f496b946fdcfab5983c983e4b513ab6682364",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "fs/orangefs/orangefs-debugfs.c"
},
"digest": {
"line_hashes": [
"175532528256370565556150944574958122015",
"324408163760899217229219543006814296998",
"99850889106383764724483902883527814738",
"133217126374535130610449761485155015878",
"81675134762787880661263377204301543400",
"18839310374260871508952294202091689122"
],
"threshold": 0.9
}
}
]