In the Linux kernel, the following vulnerability has been resolved:
jffs2: Prevent rtime decompress memory corruption
The rtime decompression routine does not fully check bounds during the entirety of the decompression pass and can corrupt memory outside the decompression buffer if the compressed data is corrupted. This adds the required check to prevent this failure mode.
[
{
"deprecated": false,
"target": {
"file": "fs/jffs2/compr_rtime.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"138929039249920889918065188649123662427",
"315820010646639732898750624391487961747",
"188359170943481420534078707840688300148",
"273707953273595222081474235777087164840"
]
},
"id": "CVE-2024-57850-1942ea25",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f6fc251baefc3cdc4f41f2f5a47940d7d4a67332",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "fs/jffs2/compr_rtime.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"138929039249920889918065188649123662427",
"315820010646639732898750624391487961747",
"188359170943481420534078707840688300148",
"273707953273595222081474235777087164840"
]
},
"id": "CVE-2024-57850-39d1503d",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6808a1812a3419542223e7fe9e2de577e99e45d1",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "fs/jffs2/compr_rtime.c",
"function": "jffs2_rtime_decompress"
},
"digest": {
"length": 588.0,
"function_hash": "131721732449599525818937839463562875482"
},
"id": "CVE-2024-57850-422e7a80",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@fe051552f5078fa02d593847529a3884305a6ffe",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "fs/jffs2/compr_rtime.c",
"function": "jffs2_rtime_decompress"
},
"digest": {
"length": 588.0,
"function_hash": "131721732449599525818937839463562875482"
},
"id": "CVE-2024-57850-61921f29",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6808a1812a3419542223e7fe9e2de577e99e45d1",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "fs/jffs2/compr_rtime.c",
"function": "jffs2_rtime_decompress"
},
"digest": {
"length": 588.0,
"function_hash": "131721732449599525818937839463562875482"
},
"id": "CVE-2024-57850-6e4bd635",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bd384b04ad1995441b18fe6c1366d02de8c5d5eb",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "fs/jffs2/compr_rtime.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"138929039249920889918065188649123662427",
"315820010646639732898750624391487961747",
"188359170943481420534078707840688300148",
"273707953273595222081474235777087164840"
]
},
"id": "CVE-2024-57850-7c4c8265",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@dc39b08fcc3831b0bc46add91ba93cd2aab50716",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "fs/jffs2/compr_rtime.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"138929039249920889918065188649123662427",
"315820010646639732898750624391487961747",
"188359170943481420534078707840688300148",
"273707953273595222081474235777087164840"
]
},
"id": "CVE-2024-57850-854c3709",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@47c9a7f81027a78afea9d2e9a54bfd8fabb6b3d0",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "fs/jffs2/compr_rtime.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"138929039249920889918065188649123662427",
"315820010646639732898750624391487961747",
"188359170943481420534078707840688300148",
"273707953273595222081474235777087164840"
]
},
"id": "CVE-2024-57850-ad15d867",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@fe051552f5078fa02d593847529a3884305a6ffe",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "fs/jffs2/compr_rtime.c",
"function": "jffs2_rtime_decompress"
},
"digest": {
"length": 588.0,
"function_hash": "131721732449599525818937839463562875482"
},
"id": "CVE-2024-57850-bbf224c5",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@dc39b08fcc3831b0bc46add91ba93cd2aab50716",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "fs/jffs2/compr_rtime.c",
"function": "jffs2_rtime_decompress"
},
"digest": {
"length": 588.0,
"function_hash": "131721732449599525818937839463562875482"
},
"id": "CVE-2024-57850-c9efac46",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@421f9e9f0fae9f8e721ffa07f22d9765fa1214d5",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "fs/jffs2/compr_rtime.c",
"function": "jffs2_rtime_decompress"
},
"digest": {
"length": 588.0,
"function_hash": "131721732449599525818937839463562875482"
},
"id": "CVE-2024-57850-d4a962dc",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f6fc251baefc3cdc4f41f2f5a47940d7d4a67332",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "fs/jffs2/compr_rtime.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"138929039249920889918065188649123662427",
"315820010646639732898750624391487961747",
"188359170943481420534078707840688300148",
"273707953273595222081474235777087164840"
]
},
"id": "CVE-2024-57850-dd342f22",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@421f9e9f0fae9f8e721ffa07f22d9765fa1214d5",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "fs/jffs2/compr_rtime.c",
"function": "jffs2_rtime_decompress"
},
"digest": {
"length": 588.0,
"function_hash": "131721732449599525818937839463562875482"
},
"id": "CVE-2024-57850-f6255c8e",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@47c9a7f81027a78afea9d2e9a54bfd8fabb6b3d0",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "fs/jffs2/compr_rtime.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"138929039249920889918065188649123662427",
"315820010646639732898750624391487961747",
"188359170943481420534078707840688300148",
"273707953273595222081474235777087164840"
]
},
"id": "CVE-2024-57850-faa8ce5b",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bd384b04ad1995441b18fe6c1366d02de8c5d5eb",
"signature_version": "v1"
}
]