Bug 178084
| Summary: | Last AIO read of a file opened with O_DIRECT returns wrong length | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 4 | Reporter: | Jeff Moyer <jmoyer> | ||||||
| Component: | kernel | Assignee: | Jeff Moyer <jmoyer> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | Brian Brock <bbrock> | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | medium | ||||||||
| Version: | 4.0 | CC: | jbaron, rkenna, wijata | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | All | ||||||||
| OS: | Linux | ||||||||
| URL: | http://linux.bkbits.net:8080/linux-2.6/gnupatch@426191005mlv-LPd0wgDxjYB2GSh3g | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | RHSA-2006-0575 | Doc Type: | Bug Fix | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2006-08-10 21:52:57 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: | |||||||||
| Bug Depends On: | |||||||||
| Bug Blocks: | 181409 | ||||||||
| Attachments: |
|
||||||||
|
Description
Jeff Moyer
2006-01-17 19:08:39 UTC
Created attachment 123323 [details]
reproducer
Created attachment 123326 [details]
Fix the return value for the last read of a file that is not a multple of block size
this patch is currently untested.
hmmm...changing the dio structure is likely a kabi issue. How so? The structure definition is private to fs/direct-io.c. ok. you're right. i retract my comment committed in stream U4 build 34.6. A test kernel with this patch is available from http://people.redhat.com/~jbaron/rhel4/ Is there any schedule on releasing kernel with this bugfix? It will be available in update 4. I'm really suprised, that this patch was not included in https://rhn.redhat.com/errata/RHSA-2006-0493.html I do consider this a security issue, as use is allowed to read data, which He has not wrote itself. For eg. what would happen if that filesystem clusted was previously used for /etc/shadow? Anyway - where can I find some schedule for RH releases (so I can know when it could be released)? 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. http://rhn.redhat.com/errata/RHSA-2006-0575.html |