In the Linux kernel, the following vulnerability has been resolved:
media: imx-jpeg: Cleanup after an allocation error
When allocation failures are not cleaned up by the driver, further allocation errors will be false-positives, which will cause buffers to remain uninitialized and cause NULL pointer dereferences. Ensure proper cleanup of failed allocations to prevent these issues.
[
{
"id": "CVE-2025-38225-08e287cd",
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/media/platform/nxp/imx-jpeg/mxc-jpeg.c",
"function": "mxc_jpeg_alloc_slot_data"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b89ff9cf37ff59399f850d5f7781ef78fc37679f",
"signature_version": "v1",
"digest": {
"length": 831.0,
"function_hash": "95073096063382241577241938687361807247"
}
},
{
"id": "CVE-2025-38225-1dfd1962",
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "drivers/media/platform/nxp/imx-jpeg/mxc-jpeg.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ec26be7d6355a05552a0d0c1e73031f83aa4dc7f",
"signature_version": "v1",
"digest": {
"line_hashes": [
"310777941090221490498380246447286952373",
"27851507652502488995017841839789517796",
"565967722816623684889822439554256482",
"42558227658145470032589582123578846465"
],
"threshold": 0.9
}
},
{
"id": "CVE-2025-38225-262cbd77",
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "drivers/media/platform/nxp/imx-jpeg/mxc-jpeg.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6d0efe7d35c75394f32ff9d0650a007642d23857",
"signature_version": "v1",
"digest": {
"line_hashes": [
"310777941090221490498380246447286952373",
"27851507652502488995017841839789517796",
"565967722816623684889822439554256482",
"42558227658145470032589582123578846465"
],
"threshold": 0.9
}
},
{
"id": "CVE-2025-38225-2864a91b",
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "drivers/media/platform/nxp/imx-jpeg/mxc-jpeg.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0ee9469f818a0b4de3c0e7aecd733c103820d181",
"signature_version": "v1",
"digest": {
"line_hashes": [
"310777941090221490498380246447286952373",
"27851507652502488995017841839789517796",
"565967722816623684889822439554256482",
"42558227658145470032589582123578846465"
],
"threshold": 0.9
}
},
{
"id": "CVE-2025-38225-318ed5d5",
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/media/platform/nxp/imx-jpeg/mxc-jpeg.c",
"function": "mxc_jpeg_alloc_slot_data"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ec26be7d6355a05552a0d0c1e73031f83aa4dc7f",
"signature_version": "v1",
"digest": {
"length": 831.0,
"function_hash": "95073096063382241577241938687361807247"
}
},
{
"id": "CVE-2025-38225-4c44d9b6",
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "drivers/media/platform/nxp/imx-jpeg/mxc-jpeg.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b89ff9cf37ff59399f850d5f7781ef78fc37679f",
"signature_version": "v1",
"digest": {
"line_hashes": [
"310777941090221490498380246447286952373",
"27851507652502488995017841839789517796",
"565967722816623684889822439554256482",
"42558227658145470032589582123578846465"
],
"threshold": 0.9
}
},
{
"id": "CVE-2025-38225-7288241d",
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/media/platform/nxp/imx-jpeg/mxc-jpeg.c",
"function": "mxc_jpeg_alloc_slot_data"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7500bb9cf164edbb2c8117d57620227b1a4a8369",
"signature_version": "v1",
"digest": {
"length": 831.0,
"function_hash": "95073096063382241577241938687361807247"
}
},
{
"id": "CVE-2025-38225-835f4ade",
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/media/platform/nxp/imx-jpeg/mxc-jpeg.c",
"function": "mxc_jpeg_alloc_slot_data"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6d0efe7d35c75394f32ff9d0650a007642d23857",
"signature_version": "v1",
"digest": {
"length": 831.0,
"function_hash": "95073096063382241577241938687361807247"
}
},
{
"id": "CVE-2025-38225-b0a87b94",
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "drivers/media/platform/nxp/imx-jpeg/mxc-jpeg.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7500bb9cf164edbb2c8117d57620227b1a4a8369",
"signature_version": "v1",
"digest": {
"line_hashes": [
"310777941090221490498380246447286952373",
"27851507652502488995017841839789517796",
"565967722816623684889822439554256482",
"42558227658145470032589582123578846465"
],
"threshold": 0.9
}
},
{
"id": "CVE-2025-38225-f90138c4",
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/media/platform/nxp/imx-jpeg/mxc-jpeg.c",
"function": "mxc_jpeg_alloc_slot_data"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0ee9469f818a0b4de3c0e7aecd733c103820d181",
"signature_version": "v1",
"digest": {
"length": 831.0,
"function_hash": "95073096063382241577241938687361807247"
}
}
]