The patch titled Memory leak in drivers/usb/serial/airprime.c has been added to the -mm tree. Its filename is memory-leak-in-drivers-usb-serial-airprimec.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: Memory leak in drivers/usb/serial/airprime.c From: Eric Sesterhenn <snakebyte@xxxxxx> the commit http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=5dda171202f94127e49c12daf780cdae1b4e668b added a memory leak. In case we cant allocate an urb, we dont free the buffer and leak it. Coverity id #1438 Signed-off-by: Eric Sesterhenn <snakebyte@xxxxxx> Cc: Greg KH <greg@xxxxxxxxx> Acked-by: Andy Gay <andy@xxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- drivers/usb/serial/airprime.c | 1 + 1 file changed, 1 insertion(+) diff -puN drivers/usb/serial/airprime.c~memory-leak-in-drivers-usb-serial-airprimec drivers/usb/serial/airprime.c --- a/drivers/usb/serial/airprime.c~memory-leak-in-drivers-usb-serial-airprimec +++ a/drivers/usb/serial/airprime.c @@ -134,6 +134,7 @@ static int airprime_open(struct usb_seri } urb = usb_alloc_urb(0, GFP_KERNEL); if (!urb) { + kfree(buffer); dev_err(&port->dev, "%s - no more urbs?\n", __FUNCTION__); result = -ENOMEM; _ Patches currently in -mm which might be from snakebyte@xxxxxx are origin.patch reiserfs-null-pointer-dereferencing-in-reiserfs_read_bitmap_block.patch remove-unnecessary-check-in-drivers-video-intelfb-intelfbhwc.patch remove-unnecessary-check-in-drivers-net-depcac.patch off-by-one-in-arch-ppc-platforms-mpc8.patch remove-unnecessary-check-in-drivers-scsi-sgc.patch dereference-in-drivers-scsi-lpfc-lpfc_ctc.patch memory-leak-in-drivers-usb-serial-airprimec.patch possible-dereference-in-drivers-net-wireless-zd1201c.patch remove-unnecessary-check-in-fs-fat-inodec.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html