In the Linux kernel, the following vulnerability has been resolved:
net: dsa: sja1105: fix kasan out-of-bounds warning in sja1105tabledelete_entry()
There are actually 2 problems: - deleting the last element doesn't require the memmove of elements [i + 1, end) over it. Actually, element i+1 is out of bounds. - The memmove itself should move size - i - 1 elements, because the last element is out of bounds.
The out-of-bounds element still remains out of bounds after being accessed, so the problem is only that we touch it, not that it becomes in active use. But I suppose it can lead to issues if the out-of-bounds element is part of an unmapped page.
[
{
"id": "CVE-2025-22107-2d3aebe3",
"signature_type": "Function",
"signature_version": "v1",
"target": {
"file": "drivers/net/dsa/sja1105/sja1105_static_config.c",
"function": "sja1105_table_delete_entry"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5f2b28b79d2d1946ee36ad8b3dc0066f73c90481",
"digest": {
"length": 322.0,
"function_hash": "279482264562582679265127570998007204029"
},
"deprecated": false
},
{
"id": "CVE-2025-22107-514c7cd0",
"signature_type": "Line",
"signature_version": "v1",
"target": {
"file": "drivers/net/dsa/sja1105/sja1105_static_config.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5f2b28b79d2d1946ee36ad8b3dc0066f73c90481",
"digest": {
"line_hashes": [
"14266193500642446336082129650225077686",
"97360661691083784124299033110975991373",
"124172275073757643217518284689864111396",
"310099161824347162560871827818415918763",
"258113888009994812473785532102330224581"
],
"threshold": 0.9
},
"deprecated": false
},
{
"id": "CVE-2025-22107-b070be2f",
"signature_type": "Function",
"signature_version": "v1",
"target": {
"file": "drivers/net/dsa/sja1105/sja1105_static_config.c",
"function": "sja1105_table_delete_entry"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@59b97641de03c081f26b3a8876628c765b5faa25",
"digest": {
"length": 322.0,
"function_hash": "279482264562582679265127570998007204029"
},
"deprecated": false
},
{
"id": "CVE-2025-22107-ea41a74c",
"signature_type": "Line",
"signature_version": "v1",
"target": {
"file": "drivers/net/dsa/sja1105/sja1105_static_config.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@59b97641de03c081f26b3a8876628c765b5faa25",
"digest": {
"line_hashes": [
"14266193500642446336082129650225077686",
"97360661691083784124299033110975991373",
"124172275073757643217518284689864111396",
"310099161824347162560871827818415918763",
"258113888009994812473785532102330224581"
],
"threshold": 0.9
},
"deprecated": false
}
]