In the Linux kernel, the following vulnerability has been resolved:
net: ethernet: mvpp2main: fix possible OOB write in mvpp2ethtoolgetrxnfc()
rules is allocated in ethtoolgetrxnfc and the size is determined by rulecnt from user space. So rulecnt needs to be check before using rules to avoid OOB writing or NULL pointer dereference.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53495.json"
}"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53495.json"
[
{
"id": "CVE-2023-53495-48ec4cec",
"target": {
"function": "mvpp2_ethtool_get_rxnfc",
"file": "drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ba6673824efa3dc198b04a54e69dce480066d7d9",
"digest": {
"function_hash": "246557845629607402781633348525749590664",
"length": 683.0
},
"signature_type": "Function"
},
{
"id": "CVE-2023-53495-5137bb3c",
"target": {
"file": "drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@61054a8ddb176b155a8f2bacdfefb3727187f5d9",
"digest": {
"threshold": 0.9,
"line_hashes": [
"234801665095930679219502450137204880763",
"144374889487113396786142893369194827326",
"75179601062342334450564537273602436605",
"94329693792372127585322072651287315442"
]
},
"signature_type": "Line"
},
{
"id": "CVE-2023-53495-5ad5d48d",
"target": {
"function": "mvpp2_ethtool_get_rxnfc",
"file": "drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@349638f7e5d3c7d328565587bb7b0454bbee02e2",
"digest": {
"function_hash": "140259254640613807713662492923907082957",
"length": 687.0
},
"signature_type": "Function"
},
{
"id": "CVE-2023-53495-5e73f837",
"target": {
"function": "mvpp2_ethtool_get_rxnfc",
"file": "drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5bb09dddc724c5f7c4dc6dd3bfebd685eecd93e8",
"digest": {
"function_hash": "140259254640613807713662492923907082957",
"length": 687.0
},
"signature_type": "Function"
},
{
"id": "CVE-2023-53495-74a87fc5",
"target": {
"file": "drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ba6673824efa3dc198b04a54e69dce480066d7d9",
"digest": {
"threshold": 0.9,
"line_hashes": [
"234801665095930679219502450137204880763",
"144374889487113396786142893369194827326",
"75179601062342334450564537273602436605",
"94329693792372127585322072651287315442"
]
},
"signature_type": "Line"
},
{
"id": "CVE-2023-53495-846f6534",
"target": {
"function": "mvpp2_ethtool_get_rxnfc",
"file": "drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@61054a8ddb176b155a8f2bacdfefb3727187f5d9",
"digest": {
"function_hash": "246557845629607402781633348525749590664",
"length": 683.0
},
"signature_type": "Function"
},
{
"id": "CVE-2023-53495-96d122f2",
"target": {
"function": "mvpp2_ethtool_get_rxnfc",
"file": "drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@625b70d31dd4df4b96b3ddcbe251debb33bd67f5",
"digest": {
"function_hash": "140259254640613807713662492923907082957",
"length": 687.0
},
"signature_type": "Function"
},
{
"id": "CVE-2023-53495-96e812cb",
"target": {
"file": "drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@625b70d31dd4df4b96b3ddcbe251debb33bd67f5",
"digest": {
"threshold": 0.9,
"line_hashes": [
"234801665095930679219502450137204880763",
"144374889487113396786142893369194827326",
"75179601062342334450564537273602436605",
"94329693792372127585322072651287315442"
]
},
"signature_type": "Line"
},
{
"id": "CVE-2023-53495-ae6ab7f1",
"target": {
"function": "mvpp2_ethtool_get_rxnfc",
"file": "drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@51fe0a470543f345e3c62b6798929de3ddcedc1d",
"digest": {
"function_hash": "140259254640613807713662492923907082957",
"length": 687.0
},
"signature_type": "Function"
},
{
"id": "CVE-2023-53495-c82bc9dc",
"target": {
"file": "drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@349638f7e5d3c7d328565587bb7b0454bbee02e2",
"digest": {
"threshold": 0.9,
"line_hashes": [
"234801665095930679219502450137204880763",
"144374889487113396786142893369194827326",
"75179601062342334450564537273602436605",
"94329693792372127585322072651287315442"
]
},
"signature_type": "Line"
},
{
"id": "CVE-2023-53495-e11a19d4",
"target": {
"file": "drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@51fe0a470543f345e3c62b6798929de3ddcedc1d",
"digest": {
"threshold": 0.9,
"line_hashes": [
"234801665095930679219502450137204880763",
"144374889487113396786142893369194827326",
"75179601062342334450564537273602436605",
"94329693792372127585322072651287315442"
]
},
"signature_type": "Line"
},
{
"id": "CVE-2023-53495-f5f988f4",
"target": {
"file": "drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5bb09dddc724c5f7c4dc6dd3bfebd685eecd93e8",
"digest": {
"threshold": 0.9,
"line_hashes": [
"234801665095930679219502450137204880763",
"144374889487113396786142893369194827326",
"75179601062342334450564537273602436605",
"94329693792372127585322072651287315442"
]
},
"signature_type": "Line"
}
]