---

KernelTrap: Memory Leak When Writing Audio CDs

“Kurt Garloff explained a bug in 2.6.8.1 causing a memory leak
when writing audio CDs:

“‘When using bounce buffers for SG_IO commands with
unaligned buffers in blk_rq_map_user(), we should free the pages
from blk_rq_unmap_user() which calls bio_uncopy_user() for the
non-BIO_USER_MAPPED case. That function failed to free the pages
for write requests.’

“Andrew Morton acknowledged the fix noting, ‘this really should
trigger a 2.6.8.2. We’ll see…'”

Complete
Story

Related Story:
Linus
Torvalds: Linux 2.6.8
(Aug 14, 2004)

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis