Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Request to backport upstream FAT directory fix to Raspberry Pi OS kernel

Đang mở
#7,683 6 bình luận 0 reaction 0 người được giao Xem trên GitHub

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

https://pastebin.com/XL38zW6s

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

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của raspberrypi/linux

Tất cả issue của raspberrypi/linux

Issue tương tự

Thêm issue về C

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.