Request to backport upstream FAT directory fix to Raspberry Pi OS kernel
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 15/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- c, linux
- Lĩnh vực
- operating-systems
Hướng nghiên cứu
The report names upstream commit 6a2875517c778ac1111b6920e94cbab91cda8724 as the fix for FAT16 directory traversal on the Raspberry Pi 6.12.109 kernel. Start by checking that commit against the kernel's FAT directory-reading code and whether the 6.12 branch already contains it. The reporter's disk image and CompactFlash test are not in the repo, so reproduction needs their data. Done means a maintainer decides whether to backport, which is not a first-timer task.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Describe the bug
Hi,
I've encountered a reproducible FAT16 directory-reading problem when accessing CompactFlash cards written by a Psion Series 7/NetBook running EPOC32. But i believe its a generic problem across portable media.
Steps to reproduce the behaviour
On the Raspberry Pi 6.12.109 kernel, directory traversal produces spurious entries and I/O errors. Investigation showed residual directory data beyond the FAT end-of-directory marker.
I identified a upstream Linux commit:
"6a2875517c778ac1111b6920e94cbab91cda8724"
I applied this fix to the Raspberry Pi 6.12.109 kernel source, built and installed a test kernel on a sacrificial Raspberry Pi 4, and verified that:
- The previously problematic FAT16 disk image traverses correctly.
- The physical CompactFlash card traverses correctly.
- File comparisons between the image and physical card succeed.
- A complete backup and file export workflow completes successfully.
Could this upstream fix be incorporated into the supported Raspberry Pi OS kernel, particularly the 6.12 branch if it remains maintained?
I can provide reproduction details and test results if useful.
Device (s)
Raspberry Pi 4 Mod. B, Raspberry Pi 400
System
Logs
No response
Additional context
No response
- Ngôn ngữ chính
- C
- Star
- 13.2k
- Fork
- 5.5k
- Merge trung bình
- 1 ngày 22 giờ
- Pull request đã merge (30 ngày)
- 22
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của raspberrypi/linux
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
raspberrypi/linux#7415 · 2 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
rp1-cfe doesn't forward V4L2_EVENT_SOURCE_CHANGE event from csi-2 sensor driver to userspace appĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
raspberrypi/linux#7399 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Documention update requiredĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
raspberrypi/linux#7357 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
raspberrypi/linux#7054 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 34/100
raspberrypi/linux#7679 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của raspberrypi/linux
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
FujiNetWIFI/fujinet-lib#186 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
VIEW_TYPE set for computer playersCó thể đã có người làm @Loobinex đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 2 ngày
-
bug
Độ khó 2/5 Dưới một giờ Mức phù hợp với người mới 78/100
brunodev85/winlator-app#90 ·