https://github.com/torvalds/linux
Revision c93d81955005c2ac0ea072f88d376026208410e1 authored by Alexey Khoroshilov on 15 March 2013, 21:30:32 UTC, committed by Greg Kroah-Hartman on 21 March 2013, 22:59:01 UTC
acm_probe() ignores errors in tty_port_register_device()
and leaves intfdata pointing to freed memory on alloc_fail7
error path. The patch fixes the both issues.

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Acked-by: Oliver Neukum <oliver@neukum.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent d93acbc
History
Tip revision: c93d81955005c2ac0ea072f88d376026208410e1 authored by Alexey Khoroshilov on 15 March 2013, 21:30:32 UTC
usb: cdc-acm: fix error handling in acm_probe()
Tip revision: c93d819
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.1 KB
.mailmap -rw-r--r-- 4.4 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 92.8 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 243.2 KB
Makefile -rw-r--r-- 47.0 KB
README -rw-r--r-- 18.3 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top