In the Linux kernel, the following vulnerability has been resolved:
crypto: bcm - Fix pointer arithmetic
In spu2_dump_omd() value of ptr is increased by ciph_key_len
instead of hash_iv_len which could lead to going beyond the
buffer boundaries.
Fix this bug by changing ciph_key_len to hash_iv_len.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Vendor | Product | Version | CPE |
---|---|---|---|
linux | linux_kernel | * | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
[
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "unaffected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"drivers/crypto/bcm/spu2.c"
],
"versions": [
{
"version": "9d12ba86f818",
"lessThan": "c256b616067b",
"status": "affected",
"versionType": "git"
},
{
"version": "9d12ba86f818",
"lessThan": "e719c8991c16",
"status": "affected",
"versionType": "git"
},
{
"version": "9d12ba86f818",
"lessThan": "ebed0d666fa7",
"status": "affected",
"versionType": "git"
},
{
"version": "9d12ba86f818",
"lessThan": "c69a1e4b419c",
"status": "affected",
"versionType": "git"
},
{
"version": "9d12ba86f818",
"lessThan": "49833a8da640",
"status": "affected",
"versionType": "git"
},
{
"version": "9d12ba86f818",
"lessThan": "d0f14ae223c2",
"status": "affected",
"versionType": "git"
},
{
"version": "9d12ba86f818",
"lessThan": "c0082ee42063",
"status": "affected",
"versionType": "git"
},
{
"version": "9d12ba86f818",
"lessThan": "3b7a40740f04",
"status": "affected",
"versionType": "git"
},
{
"version": "9d12ba86f818",
"lessThan": "2b3460cbf454",
"status": "affected",
"versionType": "git"
}
]
},
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "affected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"drivers/crypto/bcm/spu2.c"
],
"versions": [
{
"version": "4.11",
"status": "affected"
},
{
"version": "0",
"lessThan": "4.11",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "4.19.316",
"lessThanOrEqual": "4.19.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "5.4.278",
"lessThanOrEqual": "5.4.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "5.10.219",
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "5.15.161",
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "6.1.93",
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "6.6.33",
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "6.8.12",
"lessThanOrEqual": "6.8.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "6.9.3",
"lessThanOrEqual": "6.9.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "6.10",
"lessThanOrEqual": "*",
"status": "unaffected",
"versionType": "original_commit_for_fix"
}
]
}
]
git.kernel.org/stable/c/2b3460cbf454c6b03d7429e9ffc4fe09322eb1a9
git.kernel.org/stable/c/3b7a40740f04e2f27114dfd6225c5e721dda9d57
git.kernel.org/stable/c/49833a8da6407e7e9b532cc4054fdbcaf78f5fdd
git.kernel.org/stable/c/c0082ee420639a97e40cae66778b02b341b005e5
git.kernel.org/stable/c/c256b616067bfd6d274c679c06986b78d2402434
git.kernel.org/stable/c/c69a1e4b419c2c466dd8c5602bdebadc353973dd
git.kernel.org/stable/c/d0f14ae223c2421b334c1f1a9e48f1e809aee3a0
git.kernel.org/stable/c/e719c8991c161977a67197775067ab456b518c7b
git.kernel.org/stable/c/ebed0d666fa709bae9e8cafa8ec6e7ebd1d318c6