aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorHenry Martin <[email protected]>2025-04-04 06:14:38 +0000
committerDamien Le Moal <[email protected]>2025-04-08 03:36:03 +0000
commitad320e408a8c95a282ab9c05cdf0c9b95e317985 (patch)
treedda93841513ccd23db4209df1516b6e19bae5beb /net/unix/af_unix.c
parentLinux 6.15-rc1 (diff)
downloadkernel-ad320e408a8c95a282ab9c05cdf0c9b95e317985.tar.gz
kernel-ad320e408a8c95a282ab9c05cdf0c9b95e317985.zip
ata: pata_pxa: Fix potential NULL pointer dereference in pxa_ata_probe()
devm_ioremap() returns NULL on error. Currently, pxa_ata_probe() does not check for this case, which can result in a NULL pointer dereference. Add NULL check after devm_ioremap() to prevent this issue. Fixes: 2dc6c6f15da9 ("[ARM] pata_pxa: DMA-capable PATA driver") Signed-off-by: Henry Martin <[email protected]> Signed-off-by: Damien Le Moal <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions