lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Fri, 14 May 2010 13:25:48 +0200
From:	Joerg Roedel <joro@...tes.org>
To:	Zdenek Kabelac <zdenek.kabelac@...il.com>
Cc:	olivier.grenie@...com.fr,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
	jslaby@...e.cz
Subject: Re: WARNING: at lib/dma-debug.c:866 check_for_stack

On Fri, May 14, 2010 at 10:56:46AM +0200, Zdenek Kabelac wrote:
> I've noticed my dvb-t tuner reports this Warning about stack usage for DMA.
> Is there some fix already available ?

int dib0700_identify_state(struct usb_device *udev, struct dvb_usb_device_properties *props,
                        struct dvb_usb_device_description **desc, int *cold)
{
        u8 b[16];
        s16 ret = usb_control_msg(udev, usb_rcvctrlpipe(udev,0),
                REQUEST_GET_VERSION, USB_TYPE_VENDOR | USB_DIR_IN, 0, 0, b, 16, USB_CTRL_GET_TIMEOUT);

	...
}

The variable b is on the stack and used as the usb transfer buffer. This
should be easy to fix.

	Joerg

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ