kernel/dump.c::diskdump_sysfs_store() calls sscanf(..., "%d", &part) but
doesn't check that it had returned 1. It proceeds to use the value of part
unconditionally; if string wasn't a number, part will be used uninitialized.
Fix: add the check, return -EINVAL if it fails.
This issue is on Red Hat Engineering's list of planned work items
for the upcoming Red Hat Enterprise Linux 4.4 release. Engineering
resources have been assigned and barring unforeseen circumstances, Red
Hat intends to include this item in the 4.4 release.
committed in stream U4 build 34.21. A test kernel with this patch is available
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.