Bug 28491
Summary: | kernel oops using lvm | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | David Lawrence <dkl> | ||||
Component: | kernel | Assignee: | Pete Zaitcev <zaitcev> | ||||
Status: | CLOSED ERRATA | QA Contact: | Brock Organ <borgan> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 7.1 | ||||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i386 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2001-04-17 22:18:13 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Derek Tattersall
2001-02-20 19:44:17 UTC
Created attachment 10560 [details]
kernel oops while running vgrename
Choosing Pete at random to look into this... How did this happen? I am curious if the requestor run vgrename(8) or anything else has happened. Pity that dmesg output was not saved. Is the problem reproducible? --- linux-2.4.2-0.1.16/drivers/md/lvm.c Wed Feb 28 13:04:36 2001 +++ linux-2.4.2-0.1.16-p3/drivers/md/lvm.c Wed Mar 7 11:59:42 2001 @@ -1979,6 +1979,8 @@ lv_t *lv_ptr = NULL; pv_t *pv_ptr = NULL; + if (vg_ptr == NULL) return -ENXIO; + if (copy_from_user(vg_name, arg, sizeof(vg_name)) != 0) return -EFAULT; A silly omission. LOL We are about to ship and LVM turned to be somewhat flakey. The typo that I fixed for this bug is not the only one. So, resolving into DEFERRED, even though this particular fix is easy. I'll see that mainstream kernel picks the fix. Won't help LVM though until Heinz gets his act together. We went to 2.4.3-ac8 today and it has the fix in it. I'll reopen and re-close with "Errata". |