Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 472970 (CVE-2013-2164)

Summary: Kernel : Leak information in cdrom driver (CVE-2013-2164)
Product: Gentoo Security Reporter: Agostino Sarubbo <ago>
Component: KernelAssignee: Gentoo Kernel Security <security-kernel>
Status: RESOLVED FIXED    
Severity: normal CC: kernel
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://www.openwall.com/lists/oss-security/2013/06/06/3
Whiteboard:
Package list:
Runtime testing required: ---

Description Agostino Sarubbo gentoo-dev 2013-06-11 10:28:12 UTC
From ${URL} :

When we read a block from the disk it normally fills a buffer but if
the drive is malfunctioning there is a chance that it would only be
partially filled. The result is an leak information to userspace.

Patch applied and committed in the next-line :

http://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/drivers/cdrom/cdrom.c?id=050e4b8fb7cdd7096c987a9cd556029c622c7fe2
Comment 1 GLSAMaker/CVETool Bot gentoo-dev 2013-08-30 01:23:54 UTC
CVE-2013-2164 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2013-2164):
  The mmc_ioctl_cdrom_read_data function in drivers/cdrom/cdrom.c in the Linux
  kernel through 3.10 allows local users to obtain sensitive information from
  kernel memory via a read operation on a malfunctioning CD-ROM drive.
Comment 2 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-03-25 15:19:51 UTC
(In reply to Agostino Sarubbo from comment #0)
> From ${URL} :
> 
> When we read a block from the disk it normally fills a buffer but if
> the drive is malfunctioning there is a chance that it would only be
> partially filled. The result is an leak information to userspace.
> 
> Patch applied and committed in the next-line :
> 
> http://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/
> drivers/cdrom/cdrom.c?id=050e4b8fb7cdd7096c987a9cd556029c622c7fe2

That made it into linux.git as 542db01579fbb7ea7d1f7bb9ddcef1559df660b2, in 3.10.1 onwards.