Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 281529 - Kernel: Fix memory corruption in rf cache for driver rt2x00 (GENERIC-MAP-NOMATCH)
Summary: Kernel: Fix memory corruption in rf cache for driver rt2x00 (GENERIC-MAP-NOMA...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Security
Classification: Unclassified
Component: Kernel (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Security
URL: http://git.kernel.org/?p=linux/kernel...
Whiteboard: [linux <2.6.31]
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-14 23:43 UTC by Muhammad Rasyid Sahputra
Modified: 2013-09-15 18:49 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Muhammad Rasyid Sahputra 2009-08-14 23:43:47 UTC
From Pavel Roskin,

Change rt2x00_rf_read() and rt2x00_rf_write() to subtract 1 from the rf
register number.  This is needed because the rf registers are enumerated
starting with one.  The size of the rf register cache is just enough to
hold all registers, so writing to the highest register was corrupting
memory.  Add a check to make sure that the rf register number is valid.