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]
Message-ID: <20151221214333.GA3108@kroah.com>
Date:	Mon, 21 Dec 2015 13:43:33 -0800
From:	Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To:	Shivnandan Kumar <shivnandan.k@...sung.com>
Cc:	Arnd Bergmann <arnd@...db.de>, vidushi.koul@...sung.com,
	gaurav.k6@...sung.com, nitin.gupta@...sung.com,
	rajat.suri@...sung.com, p.shailesh@...sung.com,
	shiv.jnumca08@...il.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] char:misc minor is overflowing

On Fri, Nov 20, 2015 at 03:35:34PM +0530, Shivnandan Kumar wrote:
>  When a driver register as a misc driver and 
>  it tries to allocate  minor number dynamically.
>  Then there is a chance of minor number overflow.
>  The problem is that 64(DYNAMIC_MINORS) is not enough 
>  for dynamic minor number and if kernel defines 0-63
>  for dynamic minor number, it should be reserved.

What system do you have that we have more than 63 dynamic minors being
asked for?  We should turn some of them into "real" minors if you rely
on too many of these.

thanks,

greg k-h
--
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