In the Linux kernel, the following vulnerability has been resolved:
idpf: fix null-ptr-deref in idpffeaturescheck
idpffeaturescheck is used to validate the TX packet. skb header length is compared with the hardware supported value received from the device control plane. The value is stored in the adapter structure and to access it, vport pointer is used. During reset all the vports are released and the vport pointer that the netdev private structure points to is NULL.
To avoid null-ptr-deref, store the max header length value in netdev private structure. This also helps to cache the value and avoid accessing adapter pointer in hot path.
BUG: kernel NULL pointer dereference, address: 0000000000000068 ... RIP: 0010:idpffeaturescheck+0x6d/0xe0 [idpf] Call Trace: <TASK> ? _die+0x23/0x70 ? pagefaultoops+0x154/0x520 ? excpagefault+0x76/0x190 ? asmexcpagefault+0x26/0x30 ? idpffeaturescheck+0x6d/0xe0 [idpf] netifskbfeatures+0x88/0x310 validatexmitskb+0x2a/0x2b0 validatexmitskblist+0x4c/0x70 schdirectxmit+0x19d/0x3a0 _devqueuexmit+0xb74/0xe70 ...
[
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"331341220944445256275951180810080935234",
"315543002696409017419794041636588062201",
"272669068168181349081044803043741744871",
"334870270702466211292581789482374150371",
"156266069165836140963228404022090800572",
"287736644561142575326170811939396101879",
"315373293650250421691408760619039866387"
]
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f6f5e9c8cb680c3cb9771fd9fa114319cbc4f514",
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"id": "CVE-2025-38053-0af46769",
"target": {
"file": "drivers/net/ethernet/intel/idpf/idpf.h"
}
},
{
"digest": {
"function_hash": "267339663214503498772261638782806704456",
"length": 826.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bf1e751c5a5611aa037ab44cca955c141eb68dcc",
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"id": "CVE-2025-38053-0b8bfed8",
"target": {
"file": "drivers/net/ethernet/intel/idpf/idpf_lib.c",
"function": "idpf_features_check"
}
},
{
"digest": {
"function_hash": "267339663214503498772261638782806704456",
"length": 826.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f6f5e9c8cb680c3cb9771fd9fa114319cbc4f514",
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"id": "CVE-2025-38053-1654e7ac",
"target": {
"file": "drivers/net/ethernet/intel/idpf/idpf_lib.c",
"function": "idpf_features_check"
}
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"122248470059010411231021967264623092463",
"296012915589414996586952896946826377278",
"792543871108278989847184493473835512",
"292734232955975770716388027672688073327",
"2642219275154493749778419210714315703",
"340090105636669618275555038100737518301",
"297497469241825856759775269970519771855",
"201402608249821462423019811823979808231",
"124998230496931388421231724611069121891",
"118080598504921343982207595907984852609",
"249392920791450441521872582120956685089",
"130159127795995160566548747803444872777",
"236135872628513419739386289143969645485",
"120006457472790349316480533331755187532",
"277842201589567242178481839140346539894",
"59893938161774722042361046353588192475",
"156349214933916530493591557669122028265",
"278136904974517653981177688237838132396",
"210763313342412377515637032733978552023",
"11404236305589216168235644502714693659",
"70269768569815364379032434723268404444"
]
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bf1e751c5a5611aa037ab44cca955c141eb68dcc",
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"id": "CVE-2025-38053-4312ff0d",
"target": {
"file": "drivers/net/ethernet/intel/idpf/idpf_lib.c"
}
},
{
"digest": {
"function_hash": "267339663214503498772261638782806704456",
"length": 826.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2dabe349f7882ff1407a784d54d8541909329088",
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"id": "CVE-2025-38053-4f06f345",
"target": {
"file": "drivers/net/ethernet/intel/idpf/idpf_lib.c",
"function": "idpf_features_check"
}
},
{
"digest": {
"function_hash": "328801706477993573648133165837165579322",
"length": 2358.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f6f5e9c8cb680c3cb9771fd9fa114319cbc4f514",
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"id": "CVE-2025-38053-67c6249e",
"target": {
"file": "drivers/net/ethernet/intel/idpf/idpf_lib.c",
"function": "idpf_cfg_netdev"
}
},
{
"digest": {
"function_hash": "328801706477993573648133165837165579322",
"length": 2358.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bf1e751c5a5611aa037ab44cca955c141eb68dcc",
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"id": "CVE-2025-38053-75930bfa",
"target": {
"file": "drivers/net/ethernet/intel/idpf/idpf_lib.c",
"function": "idpf_cfg_netdev"
}
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"331341220944445256275951180810080935234",
"315543002696409017419794041636588062201",
"272669068168181349081044803043741744871",
"334870270702466211292581789482374150371",
"156266069165836140963228404022090800572",
"287736644561142575326170811939396101879",
"315373293650250421691408760619039866387"
]
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2dabe349f7882ff1407a784d54d8541909329088",
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"id": "CVE-2025-38053-7782558c",
"target": {
"file": "drivers/net/ethernet/intel/idpf/idpf.h"
}
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"122248470059010411231021967264623092463",
"296012915589414996586952896946826377278",
"792543871108278989847184493473835512",
"292734232955975770716388027672688073327",
"2642219275154493749778419210714315703",
"340090105636669618275555038100737518301",
"297497469241825856759775269970519771855",
"201402608249821462423019811823979808231",
"124998230496931388421231724611069121891",
"118080598504921343982207595907984852609",
"249392920791450441521872582120956685089",
"130159127795995160566548747803444872777",
"236135872628513419739386289143969645485",
"120006457472790349316480533331755187532",
"277842201589567242178481839140346539894",
"59893938161774722042361046353588192475",
"156349214933916530493591557669122028265",
"278136904974517653981177688237838132396",
"210763313342412377515637032733978552023",
"11404236305589216168235644502714693659",
"70269768569815364379032434723268404444"
]
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2dabe349f7882ff1407a784d54d8541909329088",
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"id": "CVE-2025-38053-869da5be",
"target": {
"file": "drivers/net/ethernet/intel/idpf/idpf_lib.c"
}
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"331341220944445256275951180810080935234",
"315543002696409017419794041636588062201",
"272669068168181349081044803043741744871",
"334870270702466211292581789482374150371",
"156266069165836140963228404022090800572",
"287736644561142575326170811939396101879",
"315373293650250421691408760619039866387"
]
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bf1e751c5a5611aa037ab44cca955c141eb68dcc",
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"id": "CVE-2025-38053-8f516cda",
"target": {
"file": "drivers/net/ethernet/intel/idpf/idpf.h"
}
},
{
"digest": {
"function_hash": "39870846624546201026974020818653467226",
"length": 2377.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2dabe349f7882ff1407a784d54d8541909329088",
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"id": "CVE-2025-38053-bf22912d",
"target": {
"file": "drivers/net/ethernet/intel/idpf/idpf_lib.c",
"function": "idpf_cfg_netdev"
}
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"122248470059010411231021967264623092463",
"296012915589414996586952896946826377278",
"792543871108278989847184493473835512",
"292734232955975770716388027672688073327",
"2642219275154493749778419210714315703",
"340090105636669618275555038100737518301",
"297497469241825856759775269970519771855",
"201402608249821462423019811823979808231",
"124998230496931388421231724611069121891",
"118080598504921343982207595907984852609",
"249392920791450441521872582120956685089",
"130159127795995160566548747803444872777",
"236135872628513419739386289143969645485",
"120006457472790349316480533331755187532",
"277842201589567242178481839140346539894",
"59893938161774722042361046353588192475",
"156349214933916530493591557669122028265",
"278136904974517653981177688237838132396",
"210763313342412377515637032733978552023",
"11404236305589216168235644502714693659",
"70269768569815364379032434723268404444"
]
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f6f5e9c8cb680c3cb9771fd9fa114319cbc4f514",
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"id": "CVE-2025-38053-d4b8bbbf",
"target": {
"file": "drivers/net/ethernet/intel/idpf/idpf_lib.c"
}
}
]