In the Linux kernel, the following vulnerability has been resolved:
RDMA/hns: Fix NULL pointer derefernce in hnsrocemapmrsg()
ibmapmrsg() allows ULPs to specify NULL as the sgoffset argument. The driver needs to check whether it is a NULL pointer before dereferencing it.
[
{
"target": {
"file": "drivers/infiniband/hw/hns/hns_roce_mr.c"
},
"signature_version": "v1",
"digest": {
"line_hashes": [
"244740580400408688598062128722051147381",
"240309697453255433424744839585875841884",
"105324927927364976131184791880789125414",
"280753822940589874187648720359333748578",
"307084395832744943372376072138657554842",
"295816577790522815938197253497918151759",
"11256160975805315964853145487525435697",
"262165322350837555144793867394311529280",
"227115194728513707820656962372268317972",
"262477697148652931608475866860661837546",
"164964877071588505547701481984035124438",
"293851201348290657689134149763452489422",
"317307643517670162971354925757057838268",
"240684299769625564323009048354568351426",
"252181854601746871401640493502695123827"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6b526d17eed850352d880b93b9bf20b93006bd92",
"deprecated": false,
"id": "CVE-2024-53226-0ad9e17b",
"signature_type": "Line"
},
{
"target": {
"function": "hns_roce_map_mr_sg",
"file": "drivers/infiniband/hw/hns/hns_roce_mr.c"
},
"signature_version": "v1",
"digest": {
"length": 1361.0,
"function_hash": "281096376194416101235834733272027864458"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@52617e76f4963644db71dc0a17e998654dc0c7f4",
"deprecated": false,
"id": "CVE-2024-53226-0bfeb6e2",
"signature_type": "Function"
},
{
"target": {
"file": "drivers/infiniband/hw/hns/hns_roce_mr.c"
},
"signature_version": "v1",
"digest": {
"line_hashes": [
"244740580400408688598062128722051147381",
"240309697453255433424744839585875841884",
"105324927927364976131184791880789125414",
"280753822940589874187648720359333748578",
"307084395832744943372376072138657554842",
"295816577790522815938197253497918151759",
"11256160975805315964853145487525435697",
"262165322350837555144793867394311529280",
"227115194728513707820656962372268317972",
"262477697148652931608475866860661837546",
"164964877071588505547701481984035124438",
"293851201348290657689134149763452489422",
"317307643517670162971354925757057838268",
"240684299769625564323009048354568351426",
"252181854601746871401640493502695123827"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bd715e191d444992d6ed124f15856da5c1cae2de",
"deprecated": false,
"id": "CVE-2024-53226-18d8528e",
"signature_type": "Line"
},
{
"target": {
"function": "hns_roce_map_mr_sg",
"file": "drivers/infiniband/hw/hns/hns_roce_mr.c"
},
"signature_version": "v1",
"digest": {
"length": 1361.0,
"function_hash": "281096376194416101235834733272027864458"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6b526d17eed850352d880b93b9bf20b93006bd92",
"deprecated": false,
"id": "CVE-2024-53226-1c79ec2c",
"signature_type": "Function"
},
{
"target": {
"file": "drivers/infiniband/hw/hns/hns_roce_mr.c"
},
"signature_version": "v1",
"digest": {
"line_hashes": [
"244740580400408688598062128722051147381",
"240309697453255433424744839585875841884",
"105324927927364976131184791880789125414",
"280753822940589874187648720359333748578",
"307084395832744943372376072138657554842",
"295816577790522815938197253497918151759",
"11256160975805315964853145487525435697",
"262165322350837555144793867394311529280",
"227115194728513707820656962372268317972",
"262477697148652931608475866860661837546",
"164964877071588505547701481984035124438",
"293851201348290657689134149763452489422",
"317307643517670162971354925757057838268",
"240684299769625564323009048354568351426",
"252181854601746871401640493502695123827"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@35f5b68f63aac61d30ce0b0c6beb09b8845a3e65",
"deprecated": false,
"id": "CVE-2024-53226-2f4176ca",
"signature_type": "Line"
},
{
"target": {
"function": "hns_roce_map_mr_sg",
"file": "drivers/infiniband/hw/hns/hns_roce_mr.c"
},
"signature_version": "v1",
"digest": {
"length": 1361.0,
"function_hash": "281096376194416101235834733272027864458"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8c269bb2cc666ca580271e1a8136c63ac9162e1e",
"deprecated": false,
"id": "CVE-2024-53226-38796a2d",
"signature_type": "Function"
},
{
"target": {
"function": "hns_roce_map_mr_sg",
"file": "drivers/infiniband/hw/hns/hns_roce_mr.c"
},
"signature_version": "v1",
"digest": {
"length": 1361.0,
"function_hash": "281096376194416101235834733272027864458"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6b0d7d6e6883d0ec70cd7b5a02c47c003d5defe7",
"deprecated": false,
"id": "CVE-2024-53226-52032998",
"signature_type": "Function"
},
{
"target": {
"function": "hns_roce_map_mr_sg",
"file": "drivers/infiniband/hw/hns/hns_roce_mr.c"
},
"signature_version": "v1",
"digest": {
"length": 1361.0,
"function_hash": "281096376194416101235834733272027864458"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bd715e191d444992d6ed124f15856da5c1cae2de",
"deprecated": false,
"id": "CVE-2024-53226-7c7166c3",
"signature_type": "Function"
},
{
"target": {
"function": "hns_roce_map_mr_sg",
"file": "drivers/infiniband/hw/hns/hns_roce_mr.c"
},
"signature_version": "v1",
"digest": {
"length": 1361.0,
"function_hash": "281096376194416101235834733272027864458"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@71becb0e9df78a8d43dfd0efcef18c830a0af477",
"deprecated": false,
"id": "CVE-2024-53226-922f4ccd",
"signature_type": "Function"
},
{
"target": {
"file": "drivers/infiniband/hw/hns/hns_roce_mr.c"
},
"signature_version": "v1",
"digest": {
"line_hashes": [
"244740580400408688598062128722051147381",
"240309697453255433424744839585875841884",
"105324927927364976131184791880789125414",
"280753822940589874187648720359333748578",
"307084395832744943372376072138657554842",
"295816577790522815938197253497918151759",
"11256160975805315964853145487525435697",
"262165322350837555144793867394311529280",
"227115194728513707820656962372268317972",
"262477697148652931608475866860661837546",
"164964877071588505547701481984035124438",
"293851201348290657689134149763452489422",
"317307643517670162971354925757057838268",
"240684299769625564323009048354568351426",
"252181854601746871401640493502695123827"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6b0d7d6e6883d0ec70cd7b5a02c47c003d5defe7",
"deprecated": false,
"id": "CVE-2024-53226-92e98bb8",
"signature_type": "Line"
},
{
"target": {
"file": "drivers/infiniband/hw/hns/hns_roce_mr.c"
},
"signature_version": "v1",
"digest": {
"line_hashes": [
"244740580400408688598062128722051147381",
"240309697453255433424744839585875841884",
"105324927927364976131184791880789125414",
"280753822940589874187648720359333748578",
"307084395832744943372376072138657554842",
"295816577790522815938197253497918151759",
"11256160975805315964853145487525435697",
"262165322350837555144793867394311529280",
"227115194728513707820656962372268317972",
"262477697148652931608475866860661837546",
"164964877071588505547701481984035124438",
"293851201348290657689134149763452489422",
"317307643517670162971354925757057838268",
"240684299769625564323009048354568351426",
"252181854601746871401640493502695123827"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8c269bb2cc666ca580271e1a8136c63ac9162e1e",
"deprecated": false,
"id": "CVE-2024-53226-9e7ac21f",
"signature_type": "Line"
},
{
"target": {
"file": "drivers/infiniband/hw/hns/hns_roce_mr.c"
},
"signature_version": "v1",
"digest": {
"line_hashes": [
"244740580400408688598062128722051147381",
"240309697453255433424744839585875841884",
"105324927927364976131184791880789125414",
"280753822940589874187648720359333748578",
"307084395832744943372376072138657554842",
"295816577790522815938197253497918151759",
"11256160975805315964853145487525435697",
"262165322350837555144793867394311529280",
"227115194728513707820656962372268317972",
"262477697148652931608475866860661837546",
"164964877071588505547701481984035124438",
"293851201348290657689134149763452489422",
"317307643517670162971354925757057838268",
"240684299769625564323009048354568351426",
"252181854601746871401640493502695123827"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@71becb0e9df78a8d43dfd0efcef18c830a0af477",
"deprecated": false,
"id": "CVE-2024-53226-b00932ab",
"signature_type": "Line"
},
{
"target": {
"file": "drivers/infiniband/hw/hns/hns_roce_mr.c"
},
"signature_version": "v1",
"digest": {
"line_hashes": [
"244740580400408688598062128722051147381",
"240309697453255433424744839585875841884",
"105324927927364976131184791880789125414",
"280753822940589874187648720359333748578",
"307084395832744943372376072138657554842",
"295816577790522815938197253497918151759",
"11256160975805315964853145487525435697",
"262165322350837555144793867394311529280",
"227115194728513707820656962372268317972",
"262477697148652931608475866860661837546",
"164964877071588505547701481984035124438",
"293851201348290657689134149763452489422",
"317307643517670162971354925757057838268",
"240684299769625564323009048354568351426",
"252181854601746871401640493502695123827"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@52617e76f4963644db71dc0a17e998654dc0c7f4",
"deprecated": false,
"id": "CVE-2024-53226-cb7c2b93",
"signature_type": "Line"
},
{
"target": {
"function": "hns_roce_map_mr_sg",
"file": "drivers/infiniband/hw/hns/hns_roce_mr.c"
},
"signature_version": "v1",
"digest": {
"length": 1361.0,
"function_hash": "281096376194416101235834733272027864458"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@35f5b68f63aac61d30ce0b0c6beb09b8845a3e65",
"deprecated": false,
"id": "CVE-2024-53226-f9532f97",
"signature_type": "Function"
}
]