In the Linux kernel, the following vulnerability has been resolved:
ptp: Ensure info->enable callback is always set
The ioctl and sysfs handlers unconditionally call the ->enable callback. Not all drivers implement that callback, leading to NULL dereferences. Example of affected drivers: ptps390.c, ptpvclock.c and ptp_mock.c.
Instead use a dummy callback if no better was specified by the driver.
[
{
"digest": {
"function_hash": "316916541873103465267797071361061187091",
"length": 3354.0
},
"signature_type": "Function",
"target": {
"function": "ptp_clock_register",
"file": "drivers/ptp/ptp_clock.c"
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5d1041c76de656f9f8d5a192218039a9acf9bd00",
"signature_version": "v1",
"id": "CVE-2025-21814-016e3d2d"
},
{
"digest": {
"function_hash": "338865211118395459992455115420559184926",
"length": 3929.0
},
"signature_type": "Function",
"target": {
"function": "ptp_clock_register",
"file": "drivers/ptp/ptp_clock.c"
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@755caf4ee1c615ee5717862e427124370f46b1f3",
"signature_version": "v1",
"id": "CVE-2025-21814-141b560c"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"253414601201870708143624506772089995820",
"286725585285620430272312656007000995032",
"207702109074391451034230042827095860490",
"289341197529164104465734455478963469159",
"91369271162681078830056106911703794475",
"331310201988874736734025749868436129164"
]
},
"signature_type": "Line",
"target": {
"file": "drivers/ptp/ptp_clock.c"
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@755caf4ee1c615ee5717862e427124370f46b1f3",
"signature_version": "v1",
"id": "CVE-2025-21814-17765fbf"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"160455354341605719598049603194375583812",
"312942419107365179317117339646959382507",
"207702109074391451034230042827095860490",
"48885197113938035307089784091702922342",
"66369272378086702944873319953361884471",
"220529032533861375023292518531899738620"
]
},
"signature_type": "Line",
"target": {
"file": "drivers/ptp/ptp_clock.c"
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9df3a9284f39bfd51a9f72a6a165c79e2aa5066b",
"signature_version": "v1",
"id": "CVE-2025-21814-1ea293dd"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"253414601201870708143624506772089995820",
"286725585285620430272312656007000995032",
"207702109074391451034230042827095860490",
"289341197529164104465734455478963469159",
"91369271162681078830056106911703794475",
"331310201988874736734025749868436129164"
]
},
"signature_type": "Line",
"target": {
"file": "drivers/ptp/ptp_clock.c"
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5d1041c76de656f9f8d5a192218039a9acf9bd00",
"signature_version": "v1",
"id": "CVE-2025-21814-33f77bb9"
},
{
"digest": {
"function_hash": "326915113915408249986360176853075941512",
"length": 2892.0
},
"signature_type": "Function",
"target": {
"function": "ptp_clock_register",
"file": "drivers/ptp/ptp_clock.c"
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1334c64a5d1de6666e0c9f984db6745083df1eb4",
"signature_version": "v1",
"id": "CVE-2025-21814-41a66d55"
},
{
"digest": {
"function_hash": "338865211118395459992455115420559184926",
"length": 3929.0
},
"signature_type": "Function",
"target": {
"function": "ptp_clock_register",
"file": "drivers/ptp/ptp_clock.c"
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8441aea46445252df5d2eed6deb6d5246fc24002",
"signature_version": "v1",
"id": "CVE-2025-21814-4922af2b"
},
{
"digest": {
"function_hash": "316916541873103465267797071361061187091",
"length": 3354.0
},
"signature_type": "Function",
"target": {
"function": "ptp_clock_register",
"file": "drivers/ptp/ptp_clock.c"
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@81846070cba17125a866e8023c01d3465b153339",
"signature_version": "v1",
"id": "CVE-2025-21814-5152895b"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"253414601201870708143624506772089995820",
"286725585285620430272312656007000995032",
"207702109074391451034230042827095860490",
"289341197529164104465734455478963469159",
"91369271162681078830056106911703794475",
"331310201988874736734025749868436129164"
]
},
"signature_type": "Line",
"target": {
"file": "drivers/ptp/ptp_clock.c"
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8441aea46445252df5d2eed6deb6d5246fc24002",
"signature_version": "v1",
"id": "CVE-2025-21814-547a6472"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"253414601201870708143624506772089995820",
"286725585285620430272312656007000995032",
"207702109074391451034230042827095860490",
"289341197529164104465734455478963469159",
"91369271162681078830056106911703794475",
"331310201988874736734025749868436129164"
]
},
"signature_type": "Line",
"target": {
"file": "drivers/ptp/ptp_clock.c"
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@81846070cba17125a866e8023c01d3465b153339",
"signature_version": "v1",
"id": "CVE-2025-21814-6b508242"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"253414601201870708143624506772089995820",
"286725585285620430272312656007000995032",
"207702109074391451034230042827095860490",
"289341197529164104465734455478963469159",
"91369271162681078830056106911703794475",
"331294856164119941313824223166998614622"
]
},
"signature_type": "Line",
"target": {
"file": "drivers/ptp/ptp_clock.c"
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@fd53aa40e65f518453115b6f56183b0c201db26b",
"signature_version": "v1",
"id": "CVE-2025-21814-70e42ece"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"160455354341605719598049603194375583812",
"312942419107365179317117339646959382507",
"207702109074391451034230042827095860490",
"87650644761763474995110852060569934180",
"304291418602088811476026422047472669191",
"220529032533861375023292518531899738620"
]
},
"signature_type": "Line",
"target": {
"file": "drivers/ptp/ptp_clock.c"
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1334c64a5d1de6666e0c9f984db6745083df1eb4",
"signature_version": "v1",
"id": "CVE-2025-21814-8a0da49e"
},
{
"digest": {
"function_hash": "211081460744339403980548656538470684175",
"length": 2226.0
},
"signature_type": "Function",
"target": {
"function": "ptp_clock_register",
"file": "drivers/ptp/ptp_clock.c"
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9df3a9284f39bfd51a9f72a6a165c79e2aa5066b",
"signature_version": "v1",
"id": "CVE-2025-21814-c6f52de0"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"160455354341605719598049603194375583812",
"312942419107365179317117339646959382507",
"207702109074391451034230042827095860490",
"48885197113938035307089784091702922342",
"66369272378086702944873319953361884471",
"220529032533861375023292518531899738620"
]
},
"signature_type": "Line",
"target": {
"file": "drivers/ptp/ptp_clock.c"
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@fdc1e72487781dd7705bcbe30878bee7d5d1f3e8",
"signature_version": "v1",
"id": "CVE-2025-21814-c9c5d91d"
},
{
"digest": {
"function_hash": "338865211118395459992455115420559184926",
"length": 3929.0
},
"signature_type": "Function",
"target": {
"function": "ptp_clock_register",
"file": "drivers/ptp/ptp_clock.c"
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@fd53aa40e65f518453115b6f56183b0c201db26b",
"signature_version": "v1",
"id": "CVE-2025-21814-dae409d1"
},
{
"digest": {
"function_hash": "211081460744339403980548656538470684175",
"length": 2226.0
},
"signature_type": "Function",
"target": {
"function": "ptp_clock_register",
"file": "drivers/ptp/ptp_clock.c"
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@fdc1e72487781dd7705bcbe30878bee7d5d1f3e8",
"signature_version": "v1",
"id": "CVE-2025-21814-e9761a40"
}
]