summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorHenry Martin <bsdhenrymartin@gmail.com>2025-04-03 10:03:39 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-04-11 17:53:34 +0300
commit86bcae88c9209e334b2f8c252f4cc66beb261886 (patch)
treecb12af62a9297f2358d1e001ad5fb22d3622a88f /include/linux
parent81e4de4ba298d73fce72c70eddeb86b151640c27 (diff)
downloadlinux-86bcae88c9209e334b2f8c252f4cc66beb261886.tar.xz
serial: Fix potential null-ptr-deref in mlb_usio_probe()
devm_ioremap() can return NULL on error. Currently, mlb_usio_probe() does not check for this case, which could result in a NULL pointer dereference. Add NULL check after devm_ioremap() to prevent this issue. Fixes: ba44dc043004 ("serial: Add Milbeaut serial control") Signed-off-by: Henry Martin <bsdhenrymartin@gmail.com> Link: https://lore.kernel.org/r/20250403070339.64990-1-bsdhenrymartin@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions